public override bool unMarshal(BytesStream stream) { uid = stream.ReadUInt64(); frameId = stream.ReadByte(); roleId = stream.ReadUInt16(); team = stream.ReadByte(); name = stream.ReadString(); ai = stream.ReadBoolean(); return(true); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); beginFrame = stream.ReadUInt32(); endFrame = stream.ReadUInt32(); replayTime = stream.ReadByte(); goalDoor = (Location)stream.ReadByte(); positionRandomValue = stream.ReadSingle(); shootRandomValue = stream.ReadSingle(); goalRandomValue = stream.ReadSingle(); goaler = stream.ReadUInt64(); blueScore = stream.ReadUInt16(); redScore = stream.ReadUInt16(); goalTime = stream.ReadUInt16(); goalTeam = (FBTeam)stream.ReadByte(); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); point = stream.readVector3(); normal = stream.readVector3(); velocity = stream.readVector3(); kickerElement = (FiveElements)stream.ReadByte(); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); point = stream.readVector2(); pass = stream.ReadBoolean(); times = stream.ReadByte(); velocity = stream.readVector3(); preHeightVelocity = stream.ReadSingle(); }
public override bool unMarshal(BytesStream stream) { frameNum = stream.ReadUInt16(); uint count = stream.ReadByte(); for (uint i = 0; i < count; ++i) { ServerFrameInputEvent evt = new ServerFrameInputEvent(); evt.unMarshal(stream); events.Add(evt); } return(true); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); team = (FBTeam)stream.ReadByte(); position = stream.readVector2(); height = stream.ReadSingle(); for (int i = 0; i < runAnimiationNormalSpeeds.Length; ++i) { runAnimiationNormalSpeeds[i] = stream.ReadSingle(); } //avatar相关 begin avatarName = stream.ReadString(); for (int i = 0; i < maxAvatarPartNum; i++) { avatarPart.Add(stream.ReadString(), stream.ReadString()); } //avatar相关 end gk = stream.ReadBoolean(); name = stream.ReadString(); element = (FiveElements)stream.ReadByte(); roleId = stream.ReadUInt32(); }
public override bool unMarshal(BytesStream stream) { tableId = stream.ReadUInt64(); mapId = stream.ReadUInt32(); var playerCount = stream.ReadByte(); while (stream.Pos < stream.Buf.Length - 1 && allPlayerInfos.Count < playerCount) { PlayerInfo evt = new PlayerInfo(); evt.unMarshal(stream); allPlayerInfos.Add(evt); } return(true); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); team = (FBTeam)stream.ReadByte(); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); zoneIndex = stream.ReadByte(); rightSide = stream.ReadBoolean(); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); catchingType = stream.ReadByte(); }
public override bool unMarshal(BytesStream stream) { _objectID = stream.ReadByte(); base.unMarshal(stream); return(true); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); time = stream.ReadByte(); }
public override void unserialize(BytesStream stream) { base.unserialize(stream); oldLV = stream.ReadByte(); newLV = stream.ReadByte(); }