Exemplo n.º 1
0
 public override void Register(Map assetContainer)
 {
     this.RegisterSelf(assetContainer);
     foreach (Asset asset in this.objectList)
         asset.Register(assetContainer);
 }
Exemplo n.º 2
0
 public override void Register(Map assetContainer)
 {
     this.RegisterSelf(assetContainer);
     foreach (Player player in this.players)
         player.Register(assetContainer);
 }
Exemplo n.º 3
0
 public override void Register(Map assetContainer)
 {
     this.RegisterSelf(assetContainer);
 }
Exemplo n.º 4
0
 protected override void RegisterSelf(Map assetContainer)
 {
     base.RegisterSelf(assetContainer);
     foreach (SubAsset subAsset in this.namedSubAssets.Values)
         subAsset.Register(assetContainer);
 }
Exemplo n.º 5
0
 public override void Register(Map assetContainer)
 {
     this.RegisterSelf(assetContainer);
     this.objectInitialHealth.Register(assetContainer);
     this.objectEnabled.Register(assetContainer);
     this.objectIndestructible.Register(assetContainer);
     this.objectUnsellable.Register(assetContainer);
     this.objectPowered.Register(assetContainer);
     this.objectRecruitableAI.Register(assetContainer);
     this.objectTargetable.Register(assetContainer);
     this.objectSleeping.Register(assetContainer);
     this.objectBasePriority.Register(assetContainer);
     this.objectBasePhase.Register(assetContainer);
     this.originalOwner.Register(assetContainer);
     this.uniqueID.Register(assetContainer);
     this.objectLayer.Register(assetContainer);
     this.objectName.Register(assetContainer);
     this.objectPrototypeScale.Register(assetContainer);
     this.alignToTerrain.Register(assetContainer);
     this.objectTime.Register(assetContainer);
     this.objectWeather.Register(assetContainer);
     this.objectEventsList.Register(assetContainer);
     this.objectInitialStance.Register(assetContainer);
     this.exportWithScript.Register(assetContainer);
     this.objectSoundAmbient.Register(assetContainer);
     this.scorchType.Register(assetContainer);
     this.objectRadius.Register(assetContainer);
     this.waypointID.Register(assetContainer);
     this.waypointName.Register(assetContainer);
     this.waypointTypeOption.Register(assetContainer);
     this.waypointPathLabel1.Register(assetContainer);
     this.waypointPathLabel2.Register(assetContainer);
     this.waypointPathLabel3.Register(assetContainer);
     this.waypointPathBiDirectional.Register(assetContainer);
 }
Exemplo n.º 6
0
 public abstract override void Register(Map assetContainer);
Exemplo n.º 7
0
 protected virtual void RegisterSelf(Map assetContainer)
 {
     if (assetContainer.nameIDs.ContainsKey(this.GetType().Name))
         this.id = assetContainer.nameIDs[this.GetType().Name];
     else
         assetContainer.nameIDs.Add(this.GetType().Name, assetContainer.nameIDs.Count + 1);
 }
Exemplo n.º 8
0
 public abstract void Register(Map assetContainer);
Exemplo n.º 9
0
 public override void Register(Map assetContainer)
 {
     this.RegisterSelf(assetContainer);
     for (int index = 0; index < this.scriptList.Length; ++index)
         this.scriptList[index].Register(assetContainer);
 }
Exemplo n.º 10
0
 public override void Register(Map assetContainer)
 {
     this.RegisterSelf(assetContainer);
     for (int index = 0; index < this.positionInfo.Length; ++index)
         this.positionInfo[index].Register(assetContainer);
 }