public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.helicopter != null) { this.spotlightTarget = info.msg.helicopter.spotlightVec; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.ioEntity != null) { this.capacitySeconds = info.msg.ioEntity.genericFloat1; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.corpse != null) { this.Load(info.msg.corpse); } }
public void Load(BaseNetworkable.LoadInfo info) { if (info.msg.growableEntity != null) { GrowableGeneEncoding.DecodeIntToGenes(info.msg.growableEntity.genes, this); GrowableGeneEncoding.DecodeIntToPreviousGenes(info.msg.growableEntity.previousGenes, this); } }
internal void Load(BaseNetworkable.LoadInfo info) { if (info.msg.spawnable != null) { this.Population = FileSystem.Load <SpawnPopulation>(StringPool.Get(info.msg.spawnable.population), true); } this.Add(); }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.ioEntity != null) { this.pressDuration = info.msg.ioEntity.genericFloat1; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.keyLock == null) { return; } this.keyCode = (int)((KeyLock)info.msg.keyLock).code; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.sphereEntity == null) { return; } this.rotateProgress = (float)((SphereEntity)info.msg.sphereEntity).radius; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.ioEntity == null) { return; } this.frequency = (int)((IOEntity)info.msg.ioEntity).genericInt1; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.resource == null) { return; } this.health = info.msg.resource.health; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.motorBoat != null) { this.fuelStorageInstance.uid = info.msg.motorBoat.fuelStorageID; this.storageUnitInstance.uid = info.msg.motorBoat.storageid; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.ioEntity == null) { return; } this.capacitySeconds = (float)((IOEntity)info.msg.ioEntity).genericFloat1; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.autoturret != null) { this.authorizedPlayers = info.msg.autoturret.users; info.msg.autoturret.users = null; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.waterwell == null) { return; } this.currentPressure = (float)((WaterWell)info.msg.waterwell).pressure; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.baseProjectile == null || ((BaseProjectile)info.msg.baseProjectile).primaryMagazine == null) { return; } this.ammo = (int)((Magazine)((BaseProjectile)info.msg.baseProjectile).primaryMagazine).contents; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (!info.fromDisk || !Object.op_Inequality((Object)this.vmoManifest, (Object)null) || info.msg.vendingMachine == null) { return; } this.vendingOrders = this.vmoManifest.GetFromIndex((int)((VendingMachine)info.msg.vendingMachine).vmoIndex); }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.resource == null) { return; } this.soilSaturation = (int)((BaseResource)info.msg.resource).stage; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.ioEntity != null) { this.timerLength = info.msg.ioEntity.genericFloat2; this.timePassed = info.msg.ioEntity.genericFloat1; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.helicopter == null) { return; } this.spotlightTarget = (Vector3)((Helicopter)info.msg.helicopter).spotlightVec; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (this.isServer || !this.animator.get_isInitialized()) { return; } this.animator.SetBool("armed", this.Armed()); }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.heldEntity == null) { return; } this.ownerItemUID = (uint)((HeldEntity)info.msg.heldEntity).itemUID; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.dudExplosive == null) { return; } this.explodeTime = Time.get_realtimeSinceStartup() + (float)((DudExplosive)info.msg.dudExplosive).fuseTimeLeft; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.fromDisk || info.msg.landmine == null) { return; } this.triggerPlayerID = (ulong)((Landmine)info.msg.landmine).triggeredID; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.fromDisk) { Debug.LogWarning("Loaded explosion marker from disk, cleaning up"); base.Invoke(new Action(this.DelayedDestroy), 3f); } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.motorBoat == null) { return; } this.fuelStorageInstance.uid = (uint)((Motorboat)info.msg.motorBoat).fuelStorageID; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.researchTable == null) { return; } this.researchFinishedTime = Time.get_realtimeSinceStartup() + (float)((ResearchTable)info.msg.researchTable).researchTimeLeft; }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.ioEntity != null) { this.entityRef.uid = info.msg.ioEntity.genericEntRef1; this.powerAction = (DoorManipulator.DoorEffect)info.msg.ioEntity.genericInt1; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.environment == null || !Object.op_Implicit((Object)TOD_Sky.get_Instance())) { return; } ((TOD_CycleParameters)TOD_Sky.get_Instance().Cycle).set_DateTime(DateTime.FromBinary((long)((Environment)info.msg.environment).dateTime)); }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.lootableCorpse != null) { this.playerName = info.msg.lootableCorpse.playerName; this.playerSteamID = info.msg.lootableCorpse.playerID; } }
public override void Load(BaseNetworkable.LoadInfo info) { base.Load(info); if (info.msg.ioEntity == null) { return; } this.pressDuration = (float)((IOEntity)info.msg.ioEntity).genericFloat1; }