public override void Serialize <TDoc, TCursor>(MegaloModel.MegaloScriptModel model, IO.TagElementStream <TDoc, TCursor, string> s) { base.Serialize(model, s); SerializeFrameUpdate(s); SerializeReferences(model, s); }
protected override void SerializeType(MegaloModel.MegaloScriptModel model, IO.BitStream s, ref Blam.Megalo.MegaloScriptTokenAbstractType abstractType) { int type = (int)abstractType.ToHaloReach(); s.StreamNoneable(ref type, 3); if (s.IsReading) { abstractType = ((MegaloScriptTokenTypeHaloReach)type).ToAbstract(); } }
public override void Serialize(MegaloModel.MegaloScriptModel model, IO.BitStream s) { base.Serialize(model, s); SerializeFrameUpdate(model, s); }
protected override void Serialize(BaseModel.MegaloScriptModel model, IO.BitStream s) { base.Serialize(model, s); s.Stream(ref mUnknown); }