public override void Write(hsStream s, hsResMgr mgr) { base.Write(s, mgr); s.WriteBool(fIsInitialState); s.WriteBool(fPersistOnServer); s.WriteBool(fIsAvatarState); }
public override void Write(hsStream s, hsResMgr mgr) { base.Write(s, mgr); mgr.WriteUoid(s, fObjectHelper); s.WriteBool(fIsPlayer); s.WriteBool(fIsLoading); s.WriteBool(fIsInitialState); }
public override void Write(hsStream s, hsResMgr mgr) { base.Write(s, mgr); s.WriteBool(fDeliveryTime.HasValue); if (fDeliveryTime.HasValue) plUnifiedTime.Write(s, fDeliveryTime.Value); }
public override void Write(hsStream s, hsResMgr mgr) { base.Write(s, mgr); s.WriteBool(fIsPlayer); mgr.WriteKey(s, fSpawnPoint); // Cyan is really quite stupid sometimes... if (fInitialTask == null) s.WriteBool(false); else { s.WriteBool(true); mgr.WriteCreatable(s, fInitialTask); } if (s.Version.IsMystOnline) s.WriteSafeString(fUserStr); }
public override void Write(hsStream s, hsResMgr mgr) { base.Write(s, mgr); s.WriteInt(fInvisLevel); s.WriteBool(fLeavingAge); mgr.WriteKey(s, fLinkKey); s.WriteInt(fEffects); mgr.WriteKey(s, fLinkAnimKey); }
public override void Write(hsStream s, hsResMgr mgr) { base.Write(s, mgr); mgr.WriteKey(s, fCloneKey); mgr.WriteKey(s, fRequestorKey); s.WriteUInt(fOriginatingPlayerID); s.WriteUInt(fUserData); s.WriteBool(fValidMsg); s.WriteBool(fIsLoading); mgr.WriteCreatable(s, fTriggerMsg); }
protected override void IWrite(hsStream s, hsResMgr mgr) { mgr.WriteKey(s, fPicker); mgr.WriteKey(s, fPicked); s.WriteBool(fEnabled); fHitPoint.Write(s); }
protected override void IWrite(hsStream s, hsResMgr mgr) { mgr.WriteKey(s, fFacer); mgr.WriteKey(s, fFacee); s.WriteFloat(fDot); s.WriteBool(fEnabled); }
protected override void IWrite(hsStream s, hsResMgr mgr) { s.WriteInt(fControlKey); s.WriteBool(fDown); }
protected override void IWrite(hsStream s, hsResMgr mgr) { mgr.WriteKey(s, fContained); mgr.WriteKey(s, fContainer); s.WriteBool(fEntering); }
protected override void IWrite(hsStream s, hsResMgr mgr) { s.WriteBool(fActive); s.WriteBool(fActivate); }
public override void Write(hsStream s) { s.WriteUInt(fTransID); s.WriteBool(fIsPatcher); }
public void WriteKey(hsStream s, plKey key) { if (s.Version.IsPlasma20) { if (key == null) { s.WriteBool(false); return; } else { s.WriteBool(true); key.Uoid.Write(s); } } else { if (key == null) new plUoid().Write(s); // Invalid... else key.Uoid.Write(s); } }
public override void Write(hsStream s, hsResMgr mgr) { s.WriteShort((short)fFlags); if (HasAccount) s.WriteBytes(fAcctUUID.ToByteArray()); if (HasPlayerID) s.WriteUInt(fPlayerID); if (HasPlayerName) s.WriteStdString(fPlayerName); if (HasCCRLevel) s.WriteByte(fCCRLevel); if (HasProtectedLogin) s.WriteBool(fProtectedLogin); if (HasBuildType) s.WriteByte(fBuildType); if (HasSrcAddr) s.WriteUInt(fSrcAddr); if (HasSrcPort) s.WriteUShort(fSrcPort); if (HasReserved) s.WriteUShort(fReserved); if (HasClientKey) s.WriteStdString(fClientKey); }
public override void Write(hsStream s) { s.WriteUInt(fTransID); s.WriteInt((int)fResult); s.WriteBool(fNode != null); if (fNode != null) fNode.Write(s); }
protected override void IWrite(hsStream s, hsResMgr mgr) { s.WriteBool(fEnter); mgr.WriteKey(s, fHitter); mgr.WriteKey(s, fHittee); }
public override void Write(hsStream s) { s.WriteUInt(fTransID); s.WriteBool(fPattern != null); if (fPattern != null) fPattern.Write(s); }