5 protected string m_sGroupName;
7 [
Attribute(
"", UIWidgets.ResourcePickerThumbnail,
"Flag icon of this particular group.",
params:
"edds")]
8 private ResourceName m_sGroupFlag;
11 protected string m_sGroupDescription;
14 protected int m_iGroupSize;
16 [
Attribute(
desc:
"Radio frequency for communication in kHz.")]
17 protected int m_iRadioFrequency;
20 protected bool m_bIsPrivate;
26 group.SetCustomName(m_sGroupName, 0);
27 group.SetRadioFrequency(m_iRadioFrequency);
28 group.SetMaxGroupMembers(m_iGroupSize);
29 group.SetPrivate(m_bIsPrivate);
30 group.SetCustomDescription(m_sGroupDescription, 0);
32 if (!m_sGroupFlag.IsEmpty())
33 group.SetCustomGroupFlag(m_sGroupFlag);
44 ResourceName GetGroupFlag()
56 int GetRadioFrequency()
58 return m_iRadioFrequency;
62 string GetGroupDescription()
64 return m_sGroupDescription;
76 void SetGroupName(
string name)
82 void SetGroupSize(
int size)
88 void SetRadioFrequency(
int freq)
90 m_iRadioFrequency = freq;
94 void SetIsPrivate(
bool privacy)
96 m_bIsPrivate = privacy;