public override void Read(hsStream s, hsResMgr mgr) { base.Read(s, mgr); fInvisLevel = s.ReadInt(); fLeavingAge = s.ReadBool(); fLinkKey = mgr.ReadKey(s); fEffects = s.ReadInt(); fLinkAnimKey = mgr.ReadKey(s); }
public override void Read(hsStream s, hsResMgr mgr) { base.Read(s, mgr); fObjectPool.Capacity = s.ReadInt(); for (int i = 0; i < fObjectPool.Capacity; i++) fObjectPool.Add(mgr.ReadKey(s)); fGenericPool.Capacity = s.ReadInt(); for (int i = 0; i < fGenericPool.Capacity; i++) fGenericPool.Add(mgr.ReadKey(s)); }
public override void Read(hsStream s, hsResMgr mgr) { plKey key = null; if (s.Version.IsMystOnline) key = mgr.ReadKey(s); else key = mgr.ReadUoid(s); fpKey = key; }
public override void Read(hsStream s, hsResMgr mgr) { base.Read(s, mgr); fIsPlayer = s.ReadBool(); fSpawnPoint = mgr.ReadKey(s); if (s.ReadBool()) { plCreatable pCre = mgr.ReadCreatable(s); if (pCre is plAvTask) fInitialTask = (plAvTask)pCre; else if (pCre != null) plDebugLog.GetLog("ResManager").Warn( String.Format("plLoadAvatarMsg: InitialTask should be a plAvTask, but we got a '{0}'", plFactory.ClassName(pCre))); } if (s.Version.IsMystOnline) fUserStr = s.ReadSafeString(); }
public override void Read(hsStream s, hsResMgr mgr) { base.Read(s, mgr); fDrawInterface = mgr.ReadKey(s); fSimulationInterface = mgr.ReadKey(s); fCoordInterface = mgr.ReadKey(s); fAudioInterface = mgr.ReadKey(s); fInterfaces.Capacity = s.ReadInt(); for (int i = 0; i < fInterfaces.Capacity; i++) fInterfaces.Add(mgr.ReadKey(s)); fModifiers.Capacity = s.ReadInt(); for (int i = 0; i < fModifiers.Capacity; i++) fModifiers.Add(mgr.ReadKey(s)); fSceneNode = mgr.ReadKey(s); }
public override void Read(hsStream s, hsResMgr mgr) { base.Read(s, mgr); fCloneKey = mgr.ReadKey(s); fRequestorKey = mgr.ReadKey(s); fOriginatingPlayerID = s.ReadUInt(); fUserData = s.ReadUInt(); fValidMsg = s.ReadBool(); fIsLoading = s.ReadBool(); plCreatable tMsg = mgr.ReadCreatable(s); if (tMsg is plMessage) fTriggerMsg = (plMessage)tMsg; else if (tMsg != null) plDebugLog.GetLog("ResManager").Warn( String.Format("plLoadCloneMsg: TriggerMsg should be a plMessage, but we got a '{0}'", plFactory.ClassName(tMsg))); }
public override void Read(hsStream s, hsResMgr mgr) { fSender = mgr.ReadKey(s); fReceivers.Capacity = s.ReadInt(); for (int i = 0; i < fReceivers.Capacity; i++) fReceivers.Add(mgr.ReadKey(s)); if (s.Version.IsPlasma20) fTimeStamp = s.ReadDouble(); fBCastFlags = (plBCastFlags)s.ReadInt(); }
protected override void IRead(hsStream s, hsResMgr mgr) { fName = s.ReadSafeString(); fDataType = (DataType)s.ReadInt(); fNumber = s.ReadFloat(); fKey = mgr.ReadKey(s); }
protected override void IRead(hsStream s, hsResMgr mgr) { fSpawner = mgr.ReadKey(s); fSpawnee = mgr.ReadKey(s); }
protected override void IRead(hsStream s, hsResMgr mgr) { fPicker = mgr.ReadKey(s); fPicked = mgr.ReadKey(s); fEnabled = s.ReadBool(); fHitPoint.Read(s); }
protected override void IRead(hsStream s, hsResMgr mgr) { fOfferer = mgr.ReadKey(s); fTargetAge = s.ReadInt(); fOfferee = s.ReadInt(); }
protected override void IRead(hsStream s, hsResMgr mgr) { fStage = s.ReadInt(); fEvent = s.ReadInt(); fAvatar = mgr.ReadKey(s); }
protected override void IRead(hsStream s, hsResMgr mgr) { fFacer = mgr.ReadKey(s); fFacee = mgr.ReadKey(s); fDot = s.ReadFloat(); fEnabled = s.ReadBool(); }
protected override void IRead(hsStream s, hsResMgr mgr) { fContained = mgr.ReadKey(s); fContainer = mgr.ReadKey(s); fEntering = s.ReadBool(); }
protected override void IRead(hsStream s, hsResMgr mgr) { fEnter = s.ReadBool(); fHitter = mgr.ReadKey(s); fHittee = mgr.ReadKey(s); }
protected override void IRead(hsStream s, hsResMgr mgr) { fBlockerKey = mgr.ReadKey(s); }