Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Attributes.c
Go to the documentation of this file.
1
11{
12 protected string m_sCustomTitle;
13
14 //------------------------------------------------------------------------------------------------
15 void SCR_BaseContainerStaticTitleField(string customTitle = "")
16 {
17 customTitle.TrimInPlace();
18 m_sCustomTitle = customTitle;
19 }
20
21 //------------------------------------------------------------------------------------------------
22 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
23 {
24 // if (m_sCustomTitle.IsEmpty())
25 // return false;
26
27 title = m_sCustomTitle;
28 return true;
29 }
30};
31
44{
45 protected string m_sPropertyName;
46 protected string m_sFormat;
47
48 //------------------------------------------------------------------------------------------------
49 void SCR_BaseContainerCustomTitleField(string propertyName, string format = "%1")
50 {
51 m_sPropertyName = propertyName;
52 m_sFormat = format;
53 }
54
55 //------------------------------------------------------------------------------------------------
56 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
57 {
58 if (!source.Get(m_sPropertyName, title))
59 return false;
60
61 title = string.Format(m_sFormat, title);
62 return true;
63 }
64};
65
74{
75 protected ref array<string> m_aPropertyNames;
76 protected string m_sFormat;
77
78 //------------------------------------------------------------------------------------------------
79 void SCR_BaseContainerCustomTitleFields(array<string> propertyNames, string format = "%1")
80 {
81 m_aPropertyNames = propertyNames;
82 m_sFormat = format;
83 }
84
85 //------------------------------------------------------------------------------------------------
86 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
87 {
89 {
90 title = m_sFormat;
91 return false;
92 }
93
94 int count = m_aPropertyNames.Count();
95 if (count > 5)
96 count = 5;
97
98 array<string> arguments = {};
99 arguments.Resize(count); // needed here
100
101 for (int i = 0; i < count; i++)
102 {
103 if (!source.Get(m_aPropertyNames[i], title)) // not a string, try a ResourceName
104 {
105 ResourceName tempResourceName;
106 if (source.Get(m_aPropertyNames[i], tempResourceName))
107 title = FilePath.StripPath(tempResourceName);
108 else
109 title = "x"; // not a string, not a ResourceName
110 }
111
112 arguments[i] = title;
113 }
114
115 switch (count)
116 {
117 case 0: title = WidgetManager.Translate(m_sFormat); break;
118 case 1: title = WidgetManager.Translate(m_sFormat, arguments[0]); break;
119 case 2: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1]); break;
120 case 3: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1], arguments[2]); break;
121 case 4: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1], arguments[2], arguments[3]); break;
122 default: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1], arguments[2], arguments[3], arguments[4]); break;
123 }
124
125 return true;
126 }
127};
128
139{
140 protected string m_sPropertyName;
141 protected string m_sFormat;
142
143 //------------------------------------------------------------------------------------------------
144 void SCR_BaseContainerLocalizedTitleField(string propertyName, string format = "%1")
145 {
146 m_sPropertyName = propertyName;
147 m_sFormat = format;
148 }
149
150 //------------------------------------------------------------------------------------------------
151 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
152 {
153 if (!source.Get(m_sPropertyName, title))
154 return false;
155
156 title = string.Format(m_sFormat, WidgetManager.Translate(title));
157 return true;
158 }
159};
160
171{
172 protected ref array<string> m_aPropertyNames;
173 protected string m_sFormat;
174
175 //------------------------------------------------------------------------------------------------
178 void SCR_BaseContainerLocalizedTitleFields(array<string> propertyNames, string format = "%1")
179 {
180 m_aPropertyNames = propertyNames;
181 m_sFormat = format;
182 }
183
184 //------------------------------------------------------------------------------------------------
185 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
186 {
187 if (!m_aPropertyNames)
188 {
189 title = m_sFormat;
190 return false;
191 }
192
193 int count = m_aPropertyNames.Count();
194 if (count > 5)
195 count = 5;
196
197 array<string> arguments = {};
198 arguments.Resize(count); // needed here
199
200 for (int i = 0; i < count; i++)
201 {
202 if (!source.Get(m_aPropertyNames[i], title)) // not a string, try a ResourceName
203 {
204 ResourceName tempResourceName;
205 if (source.Get(m_aPropertyNames[i], tempResourceName))
206 title = FilePath.StripPath(tempResourceName);
207 else
208 title = "x"; // not a string, not a ResourceName
209 }
210
211 arguments[i] = title;
212 }
213
214 switch (count)
215 {
216 case 0: title = WidgetManager.Translate(m_sFormat); break;
217 case 1: title = WidgetManager.Translate(m_sFormat, arguments[0]); break;
218 case 2: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1]); break;
219 case 3: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1], arguments[2]); break;
220 case 4: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1], arguments[2], arguments[3]); break;
221 default: title = WidgetManager.Translate(m_sFormat, arguments[0], arguments[1], arguments[2], arguments[3], arguments[4]); break;
222 }
223
224 return true;
225 }
226};
227
239{
240 protected string m_sPropertyName;
241 protected string m_sFormat;
242
243 //------------------------------------------------------------------------------------------------
244 void SCR_BaseContainerResourceTitleField(string propertyName, string format = "%1")
245 {
246 m_sPropertyName = propertyName;
247 m_sFormat = format;
248 }
249
250 //------------------------------------------------------------------------------------------------
251 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
252 {
254 if (!source.Get(m_sPropertyName, resourceName))
255 return false;
256
257 string fileName = FilePath.StripPath(resourceName);
258 if (!fileName)
259 return false;
260
261 title = string.Format(m_sFormat, fileName);
262 return true;
263 }
264};
265
281{
282 protected string m_sPropertyName;
283 protected string m_sSecondaryPropertyName;
285 protected string m_sFormat;
286
287 //------------------------------------------------------------------------------------------------
288 void SCR_BaseContainerTitleFieldWithValue(string propertyName, string secondaryPropertyName, string format = "%1: %2", string fallbackSecondaryProperty = "")
289 {
290 m_sPropertyName = propertyName;
291 m_sSecondaryPropertyName = secondaryPropertyName;
292 m_sFallbackSecondaryProperty = fallbackSecondaryProperty;
293 m_sFormat = format;
294 }
295
296 //------------------------------------------------------------------------------------------------
297 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
298 {
299 string property;
300 if (!source.Get(m_sPropertyName, property))
301 return false;
302
303 string secondaryProperty;
304 if (!source.Get(m_sSecondaryPropertyName, secondaryProperty))
305 return false;
306
307 if (secondaryProperty.IsEmpty())
308 secondaryProperty = m_sFallbackSecondaryProperty;
309
310 title = string.Format(m_sFormat, property, secondaryProperty);
311 return true;
312 }
313};
314
327{
328 protected typename m_EnumType;
329 protected string m_PropertyName;
330 protected string m_sFormat;
331
332 //------------------------------------------------------------------------------------------------
333 void SCR_BaseContainerCustomTitleEnum(typename enumType, string propertyName, string format = "%1")
334 {
335 m_EnumType = enumType;
336 m_PropertyName = propertyName;
337 m_sFormat = format;
338 }
339
340 //------------------------------------------------------------------------------------------------
341 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
342 {
343 int enumValue;
344 if (!source.Get(m_PropertyName, enumValue))
345 {
346 return false;
347 }
348
349 title = string.Format(m_sFormat, typename.EnumToString(m_EnumType, enumValue));
350 return true;
351 }
352};
353
369{
370 protected typename m_EnumType;
371 protected string m_sEnumName;
372 protected string m_sValueName;
373 protected string m_sDefaultValue;
374 protected string m_sFormat;
375
376 //------------------------------------------------------------------------------------------------
377 void BaseContainerCustomEnumWithValue(typename enumType, string enumName, string valueName, string defaultValue, string format = "%1: %2")
378 {
379 m_EnumType = enumType;
380 m_sEnumName = enumName;
381 m_sValueName = valueName;
382 m_sDefaultValue = defaultValue;
383 m_sFormat = format;
384 }
385
386 //------------------------------------------------------------------------------------------------
387 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
388 {
389 int enumValue;
390 if (!source.Get(m_sEnumName, enumValue))
391 return false;
392
393 string value;
394 if (!source.Get(m_sValueName, value))
395 return false;
396
397 //~ No value found so use default
398 if (value.IsEmpty())
399 value = m_sDefaultValue;
400
401 title = string.Format(m_sFormat, typename.EnumToString(m_EnumType, enumValue), value);
402 return true;
403 }
404};
405
418{
419 protected typename m_EnumType;
420 protected string m_PropertyName;
421 protected string m_sFormat;
422
423 //------------------------------------------------------------------------------------------------
424 void SCR_BaseContainerCustomTitleFlags(typename enumType, string propertyName, string format = "%1")
425 {
426 m_EnumType = enumType;
427 m_PropertyName = propertyName;
428 m_sFormat = format;
429 }
430
431 //------------------------------------------------------------------------------------------------
432 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
433 {
434 int enumValue;
435 if (!source.Get(m_PropertyName, enumValue))
436 return false;
437
438 array<int> values = {};
439 string enumName;
440 for (int i = 0, count = SCR_Enum.BitToIntArray(enumValue, values); i < count; i++)
441 {
442 if (i > 0)
443 enumName += " | ";
444
445 enumName += typename.EnumToString(m_EnumType, values[i]);
446 }
447
448 title = string.Format(m_sFormat, enumName);
449 return true;
450 }
451};
452
465{
466 protected string m_sPropertyName;
467 protected bool m_bFileNameOnly;
468 protected string m_sFormat;
469
470 //------------------------------------------------------------------------------------------------
471 void SCR_BaseContainerCustomTitleResourceName(string propertyName, bool fileNameOnly = false, string format = "%1")
472 {
473 m_sPropertyName = propertyName;
474 m_bFileNameOnly = fileNameOnly;
475 m_sFormat = format;
476 }
477
478 //------------------------------------------------------------------------------------------------
479 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
480 {
482 if (!source.Get(m_sPropertyName, path))
483 return false;
484
485 title = path.GetPath();
486 if (m_bFileNameOnly)
487 title = string.Format(m_sFormat, FilePath.StripPath(title));
488
489 return true;
490 }
491};
492
505{
506 protected string m_sPropertyName;
507 protected string m_sFormat;
508
509 //------------------------------------------------------------------------------------------------
510 void SCR_BaseContainerCustomTitleObject(string propertyName, string format = "%1")
511 {
512 m_sPropertyName = propertyName;
513 m_sFormat = format;
514 }
515
516 //------------------------------------------------------------------------------------------------
517 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
518 {
519 BaseContainer object = source.GetObject(m_sPropertyName);
520 if (!object)
521 return false;
522
523 title = string.Format(m_sFormat, object.GetClassName());
524 return true;
525 }
526};
527
537class BaseContainerCustomStringTitleField : BaseContainerCustomTitle
538{
539 string m_Title;
540
541 //------------------------------------------------------------------------------------------------
542 void BaseContainerCustomStringTitleField(string title)
543 {
544 m_Title = title;
545 }
546
547 //------------------------------------------------------------------------------------------------
548 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
549 {
550 title = m_Title;
551 return !title.IsEmpty();
552 }
553};
554
567{
568 protected string m_sPropertyName1;
569 protected string m_sPropertyName2;
570 protected string m_sFormat;
571
572 //------------------------------------------------------------------------------------------------
573 void BaseContainerCustomDoubleTitleField(string propertyName1, string propertyName2, string format = "%1: %2")
574 {
575 m_sPropertyName1 = propertyName1;
576 m_sPropertyName2 = propertyName2;
577 m_sFormat = format;
578 }
579
580 //------------------------------------------------------------------------------------------------
581 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
582 {
583 string title1, title2;
584
585 if (!source.Get(m_sPropertyName1, title1))
586 return false;
587
588 if (!source.Get(m_sPropertyName2, title2))
589 return false;
590
591 title = string.Format(m_sFormat, WidgetManager.Translate(title1), title2);
592 return true;
593 }
594};
595
612{
613 protected string m_sCheckVar;
614 protected string m_sPropertyName;
615 protected string m_sFormatTrue;
616 protected string m_sFormatFalse;
617 protected string m_sCheckVarEqual;
619
620 //------------------------------------------------------------------------------------------------
621 void BaseContainerCustomDoubleCheckTitleField(string checkVar, string propertyName, string checkVarEqual = "1", string formatTrue = "%1", string formatFalse = "EXAMPLE FORMAT - %1", bool checkForLocalization = true)
622 {
623 m_sCheckVar = checkVar;
624 m_sPropertyName = propertyName;
625 m_sFormatTrue = formatTrue;
626 m_sFormatFalse = formatFalse;
627 m_sCheckVarEqual = checkVarEqual;
628 m_bCheckForLocalization = checkForLocalization;
629 }
630
631 //------------------------------------------------------------------------------------------------
632 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
633 {
634 string checkVar, titleName;
635
636 if (!source.Get(m_sCheckVar, checkVar))
637 return false;
638
639 if (!source.Get(m_sPropertyName, titleName))
640 return false;
641
642 bool unlocalized;
643
644 if (m_bCheckForLocalization && !titleName.IsEmpty() && titleName[0] != "#")
645 unlocalized = true;
646
647 titleName = WidgetManager.Translate(titleName);
648
649 if (unlocalized)
650 titleName = "(LOC) " + titleName;
651
652 if (checkVar == m_sCheckVarEqual)
653 title = string.Format(m_sFormatTrue, titleName);
654 else
655 title = string.Format(m_sFormatFalse, titleName);
656
657 return true;
658 }
659};
660
677{
678 protected string m_sCheckVar;
679 protected string m_sPropertyName;
680 protected string m_sFormatTrue;
681 protected string m_sFormatFalse;
682 protected float m_iCheckVarEqual;
683 protected bool m_bFileNameOnly;
684
685 //------------------------------------------------------------------------------------------------
686 void BaseContainerCustomDoubleCheckIntResourceNameTitleField(string checkVar, string propertyName, int checkVarEqual, string formatTrue = "%1", string formatFalse = "EXAMPLE FORMAT - %1", bool fileNameOnly = true)
687 {
688 m_sCheckVar = checkVar;
689 m_sPropertyName = propertyName;
690 m_sFormatTrue = formatTrue;
691 m_sFormatFalse = formatFalse;
692 m_iCheckVarEqual = checkVarEqual;
693 m_bFileNameOnly = fileNameOnly;
694 }
695
696 //------------------------------------------------------------------------------------------------
697 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
698 {
699 int checkVar;
700 string pathString;
701
702 if (!source.Get(m_sCheckVar, checkVar))
703 return false;
704
706 if (!source.Get(m_sPropertyName, path))
707 return false;
708
709 if (path.IsEmpty())
710 pathString = "NO PREFAB";
711 else
712 pathString = path.GetPath();
713
714 if (checkVar == m_iCheckVarEqual)
715 {
716 if (!m_bFileNameOnly || path.IsEmpty())
717 title = string.Format(m_sFormatTrue, pathString);
718 else
719 title = string.Format(m_sFormatTrue, FilePath.StripPath(pathString));
720 }
721 else
722 {
723 if (!m_bFileNameOnly || path.IsEmpty())
724 title = string.Format(m_sFormatFalse, pathString);
725 else
726 title = string.Format(m_sFormatFalse, FilePath.StripPath(pathString));
727 }
728
729 return true;
730 }
731};
732
745{
746 protected string m_sCheckVar;
747 protected string m_sConditionTrueText;
748 protected string m_sConditionFalseText;
749 protected int m_iCheckVarEqual;
750
751 //------------------------------------------------------------------------------------------------
752 void BaseContainerCustomCheckIntTitleField(string checkVar, string conditionTrueText, string conditionFalseText, int checkVarEqual)
753 {
754 m_sCheckVar = checkVar;
755 m_sConditionTrueText = conditionTrueText;
756 m_sConditionFalseText = conditionFalseText;
757 m_iCheckVarEqual = checkVarEqual;
758 }
759
760 //------------------------------------------------------------------------------------------------
761 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
762 {
763 int checkVar;
764
765 if (!source.Get(m_sCheckVar, checkVar))
766 return false;
767
768 if (checkVar == m_iCheckVarEqual)
769 title = m_sConditionTrueText;
770 else
771 title = m_sConditionFalseText;
772
773 return true;
774 }
775};
776
792{
793 protected typename m_FlagEnumType;
794 protected string m_sFlagName;
795 protected string m_sFlagDivider;
796 protected string m_sCheckVar;
797 protected string m_sConditionTrueText;
798 protected string m_sConditionFalseText;
799 protected int m_iCheckVarEqual;
800
801 //------------------------------------------------------------------------------------------------
802 void BaseContainerCustomCheckIntWithFlagTitleField(typename flagEnumType, string flagName, string checkVar, int checkVarEqual, string conditionTrueText = "DEFAULT TRUE - %1", string conditionFalseText = "DEFAULT FALSE - %2", string flagDivider = " & ")
803 {
804 m_FlagEnumType = flagEnumType;
805 m_sFlagName = flagName;
806 m_sFlagDivider = flagDivider;
807 m_sCheckVar = checkVar;
808 m_sConditionTrueText = conditionTrueText;
809 m_sConditionFalseText = conditionFalseText;
810 m_iCheckVarEqual = checkVarEqual;
811 }
812
813 //------------------------------------------------------------------------------------------------
814 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
815 {
816 int checkVar;
817
818 if (!source.Get(m_sCheckVar, checkVar))
819 return false;
820
821 if (checkVar == m_iCheckVarEqual)
822 {
823 title = m_sConditionTrueText;
824 }
825 else
826 {
827 title = m_sConditionFalseText;
828 return true;
829 }
830
831 string enumName = "NONE";
832
833 int enumValue;
834 if (source.Get(m_sFlagName, enumValue))
835 {
836 array<int> values = {};
837 for (int i = 0, count = SCR_Enum.BitToIntArray(enumValue, values); i < count; i++)
838 {
839 if (i == 0)
840 enumName = string.Empty;
841
842 if (i > 0)
843 enumName += m_sFlagDivider;
844
845 enumName += typename.EnumToString(m_FlagEnumType, values[i]);
846 }
847 }
848
849 //~ Add flags
850 title = title.Format(title, enumName);
851
852 return true;
853 }
854}
855
868{
869 protected string m_sPropertyName;
870 protected string m_sFormat;
871
872 //------------------------------------------------------------------------------------------------
873 void SCR_BaseContainerCustomTitleUIInfo(string propertyName, string format = "%1")
874 {
875 m_sPropertyName = propertyName;
876 m_sFormat = format;
877 }
878
879 //------------------------------------------------------------------------------------------------
880 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
881 {
882 BaseContainer info = source.GetObject(m_sPropertyName);
883 if (!info || !info.Get("Name", title))
884 return false;
885
886 title = string.Format(m_sFormat, WidgetManager.Translate(title));
887 return true;
888 }
889};
string path
string m_sFormat
Definition Attributes.c:870
BaseContainerCustomCheckIntWithFlagTitleField m_sPropertyName
Attribute for setting UIInfo's name property as (Localized) custom title.
ResourceName resourceName
Definition SCR_AIGroup.c:66
class SCR_ArsenalGameModeUIDataHolder SCR_BaseContainerCustomTitleUIInfo("m_UIInfo")
void BaseContainerCustomCheckIntTitleField(string checkVar, string conditionTrueText, string conditionFalseText, int checkVarEqual)
Definition Attributes.c:752
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:761
void BaseContainerCustomCheckIntWithFlagTitleField(typename flagEnumType, string flagName, string checkVar, int checkVarEqual, string conditionTrueText="DEFAULT TRUE - %1", string conditionFalseText="DEFAULT FALSE - %2", string flagDivider=" & ")
Definition Attributes.c:802
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:814
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:697
void BaseContainerCustomDoubleCheckIntResourceNameTitleField(string checkVar, string propertyName, int checkVarEqual, string formatTrue="%1", string formatFalse="EXAMPLE FORMAT - %1", bool fileNameOnly=true)
Definition Attributes.c:686
void BaseContainerCustomDoubleCheckTitleField(string checkVar, string propertyName, string checkVarEqual="1", string formatTrue="%1", string formatFalse="EXAMPLE FORMAT - %1", bool checkForLocalization=true)
Definition Attributes.c:621
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:632
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:581
void BaseContainerCustomDoubleTitleField(string propertyName1, string propertyName2, string format="%1: %2")
Definition Attributes.c:573
void BaseContainerCustomEnumWithValue(typename enumType, string enumName, string valueName, string defaultValue, string format="%1: %2")
Definition Attributes.c:377
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:387
void SCR_BaseContainerCustomTitleEnum(typename enumType, string propertyName, string format="%1")
Definition Attributes.c:333
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:341
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:56
void SCR_BaseContainerCustomTitleField(string propertyName, string format="%1")
Definition Attributes.c:49
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:86
void SCR_BaseContainerCustomTitleFields(array< string > propertyNames, string format="%1")
Definition Attributes.c:79
ref array< string > m_aPropertyNames
Definition Attributes.c:75
void SCR_BaseContainerCustomTitleFlags(typename enumType, string propertyName, string format="%1")
Definition Attributes.c:424
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:432
void SCR_BaseContainerCustomTitleObject(string propertyName, string format="%1")
Definition Attributes.c:510
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:517
void SCR_BaseContainerCustomTitleResourceName(string propertyName, bool fileNameOnly=false, string format="%1")
Definition Attributes.c:471
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:479
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:151
void SCR_BaseContainerLocalizedTitleField(string propertyName, string format="%1")
Definition Attributes.c:144
void SCR_BaseContainerLocalizedTitleFields(array< string > propertyNames, string format="%1")
Definition Attributes.c:178
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:185
void SCR_BaseContainerResourceTitleField(string propertyName, string format="%1")
Definition Attributes.c:244
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:251
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:22
void SCR_BaseContainerStaticTitleField(string customTitle="")
Definition Attributes.c:15
override bool _WB_GetCustomTitle(BaseContainer source, out string title)
Definition Attributes.c:297
void SCR_BaseContainerTitleFieldWithValue(string propertyName, string secondaryPropertyName, string format="%1: %2", string fallbackSecondaryProperty="")
Definition Attributes.c:288
class SCR_BaseManualCameraComponent _WB_GetCustomTitle(BaseContainer source, out string title)