7 bool m_bIsDriverAllowed;
8 bool m_bIsGunnerAllowed;
9 bool m_bIsCargoAllowed;
14 [
Attribute(
"", UIWidgets.CheckBox,
"Occupy driver")]
15 private bool m_bDriverAllowed;
17 [
Attribute(
"", UIWidgets.CheckBox,
"Occupy gunner")]
18 private bool m_bGunnerAllowed;
20 [
Attribute(
"", UIWidgets.CheckBox,
"Occupy cargo")]
21 private bool m_bCargoAllowed;
31 void SetAllowance(
bool driverAllowed,
bool gunnerAllowed,
bool cargoAllowed)
33 m_Parameters.m_bIsDriverAllowed = driverAllowed;
34 m_Parameters.m_bIsGunnerAllowed = gunnerAllowed;
35 m_Parameters.m_bIsCargoAllowed = cargoAllowed;
39 override void EOnInit(IEntity owner)
42 m_Parameters.m_bIsDriverAllowed = m_bDriverAllowed;
43 m_Parameters.m_bIsGunnerAllowed = m_bGunnerAllowed;
44 m_Parameters.m_bIsCargoAllowed = m_bCargoAllowed;