예제 #1
0
 public void Write(IStarWriter writer)
 {
     writer.Write((byte)ReceivedMessage.Context.Mode);
     writer.Write(ReceivedMessage.Context.ChannelName);
     writer.Write(ReceivedMessage.ClientId);
     writer.Write(ReceivedMessage.FromNick);
     writer.Write(ReceivedMessage.Text);
 }
예제 #2
0
 public void WriteTo(IStarWriter writer)
 {
     writer.Write(ShipLevel);
     writer.Write(MaxFuel);
     writer.Serializer.Serialize(writer, Capabilities);
 }
예제 #3
0
 public void Write(IStarWriter writer)
 {
     writer.WriteVlq(ClientId);
     writer.Serializer.Serialize(writer, Uuid);
     writer.Write(CelestialInformation.PlanetOrbitalLevels);
     writer.Write(CelestialInformation.SatelliteOrbitalLevels);
     writer.Write(CelestialInformation.ChunkSize);
     writer.Write(CelestialInformation.XyCoordRange);
     writer.Write(CelestialInformation.ZCoordRange);
 }
예제 #4
0
 public void Write(IStarWriter writer)
 {
     writer.WriteUInt8Array(AssetDigest);
     writer.Serializer.Serialize(writer, Uuid);
     writer.Write(PlayerName);
     writer.Write(PlayerSpecies);
     writer.Serializer.Serialize(writer, ShipChunks);
     writer.Serializer.Serialize(writer, ShipUpgrades);
     writer.Write(Account);
 }
예제 #5
0
 public void Write(IStarWriter writer)
 {
     writer.Write(Reason);
 }
예제 #6
0
 public void Write(IStarWriter writer)
 {
     writer.Write(Message);
     writer.Write((byte)Mode);
 }
예제 #7
0
 public override void Write(IStarWriter writer)
 {
     writer.Write(Data);
 }
예제 #8
0
 public void Write(IStarWriter writer)
 {
     writer.Write(PasswordHash);
 }
예제 #9
0
 public void WriteTo(IStarWriter writer)
 {
     writer.Write(Value);
 }