コード例 #1
0
 public clsDroidTemplate()
 {
     this.DroidTemplate_ObjectDataLink = new modLists.ConnectedListLink<clsDroidTemplate, clsObjectData>(this);
     this.Code = "";
     base.IsTemplate = true;
     base.Name = "Unknown";
 }
コード例 #2
0
ファイル: clsFeatureType.cs プロジェクト: Zabanya/SharpFlame
 public clsFeatureType()
 {
     this.FeatureType_ObjectDataLink = new modLists.ConnectedListLink<clsFeatureType, clsObjectData>(this);
     this.Code = "";
     this.Name = "Unknown";
     this.FeatureType = enumFeatureType.Unknown;
     base.Type = clsUnitType.enumType.Feature;
 }
コード例 #3
0
 public clsStructureType()
 {
     this.StructureType_ObjectDataLink = new modLists.ConnectedListLink<clsStructureType, clsObjectData>(this);
     this.Code = "";
     this.Name = "Unknown";
     this.StructureType = enumStructureType.Unknown;
     this.WallLink = new modLists.ConnectedListLink<clsStructureType, clsWallType>(this);
     this.BaseAttachment = new clsUnitType.clsAttachment();
     base.Type = clsUnitType.enumType.PlayerStructure;
 }
コード例 #4
0
ファイル: clsWallType.cs プロジェクト: Zabanya/SharpFlame
 public clsWallType()
 {
     this.WallType_ObjectDataLink = new modLists.ConnectedListLink<clsWallType, clsObjectData>(this);
     this.Code = "";
     this.Name = "Unknown";
     this.TileWalls_Segment = new int[] { 0, 0, 0, 0, 0, 3, 3, 2, 0, 3, 3, 2, 0, 2, 2, 1 };
     this.TileWalls_Direction = new int[] { 0, 0, 180, 0, 270, 0, 270, 0, 90, 90, 180, 180, 270, 90, 270, 0 };
     this.Segments = new modLists.ConnectedList<clsStructureType, clsWallType>(this);
     this.Segments.MaintainOrder = true;
 }
コード例 #5
0
ファイル: clsPropulsion.cs プロジェクト: Zabanya/SharpFlame
 public clsPropulsion(int BodyCount)
 {
     this.ObjectDataLink = new modLists.ConnectedListLink<clsPropulsion, clsObjectData>(this);
     this.Bodies = new sBody[0];
     base.ComponentType = clsComponent.enumComponentType.Propulsion;
     this.Bodies = new sBody[(BodyCount - 1) + 1];
     int num2 = BodyCount - 1;
     for (int i = 0; i <= num2; i++)
     {
         this.Bodies[i].LeftAttachment = new clsUnitType.clsAttachment();
         this.Bodies[i].RightAttachment = new clsUnitType.clsAttachment();
     }
 }
コード例 #6
0
ファイル: clsSensor.cs プロジェクト: Zabanya/SharpFlame
 public clsSensor()
 {
     this.ObjectDataLink = new modLists.ConnectedListLink<clsSensor, clsObjectData>(this);
     this.Location = enumLocation.Unspecified;
     base.TurretType = clsTurret.enumTurretType.Sensor;
 }
コード例 #7
0
ファイル: clsECM.cs プロジェクト: Zabanya/SharpFlame
 public clsECM()
 {
     this.ObjectDataLink = new modLists.ConnectedListLink<clsECM, clsObjectData>(this);
     base.TurretType = clsTurret.enumTurretType.ECM;
 }
コード例 #8
0
ファイル: clsUnitType.cs プロジェクト: Zabanya/SharpFlame
 protected clsUnitType()
 {
     this.UnitType_ObjectDataLink = new modLists.ConnectedListLink<clsUnitType, clsObjectData>(this);
     this.UnitType_frmMainSelectedLink = new modLists.ConnectedListLink<clsUnitType, frmMain>(this);
     this.IsUnknown = false;
 }
コード例 #9
0
ファイル: clsWeapon.cs プロジェクト: Zabanya/SharpFlame
 public clsWeapon()
 {
     this.ObjectDataLink = new modLists.ConnectedListLink<clsWeapon, clsObjectData>(this);
     base.TurretType = clsTurret.enumTurretType.Weapon;
 }
コード例 #10
0
ファイル: clsBody.cs プロジェクト: Zabanya/SharpFlame
 public clsBody()
 {
     this.ObjectDataLink = new modLists.ConnectedListLink<clsBody, clsObjectData>(this);
     this.Attachment = new clsUnitType.clsAttachment();
     base.ComponentType = clsComponent.enumComponentType.Body;
 }
コード例 #11
0
ファイル: clsTurret.cs プロジェクト: Zabanya/SharpFlame
 public clsTurret()
 {
     this.TurretObjectDataLink = new modLists.ConnectedListLink<clsTurret, clsObjectData>(this);
     this.Attachment = new clsUnitType.clsAttachment();
     this.TurretType = enumTurretType.Unknown;
 }
コード例 #12
0
ファイル: clsRepair.cs プロジェクト: Zabanya/SharpFlame
 public clsRepair()
 {
     this.ObjectDataLink = new modLists.ConnectedListLink<clsRepair, clsObjectData>(this);
     base.TurretType = clsTurret.enumTurretType.Repair;
 }
コード例 #13
0
ファイル: clsConstruct.cs プロジェクト: Zabanya/SharpFlame
 public clsConstruct()
 {
     this.ObjectDataLink = new modLists.ConnectedListLink<clsConstruct, clsObjectData>(this);
     base.TurretType = clsTurret.enumTurretType.Construct;
 }