void IProtocolToken.Write(UdpPacket packet) { packet.WriteVector3(this.p1); packet.WriteVector3(this.p2); packet.WriteInt(this.treeId); packet.WriteInt(this.treeId2); }
public void Write(UdpPacket packet) { packet.WriteInt((int)ID); packet.WriteInt(currentAmmo); packet.WriteInt(totalAmmo); packet.WriteULong(networkId.PackedValue); }
public void Write(UdpPacket packet) { packet.WriteNetworkId(_entityID); packet.WriteInt(_width); packet.WriteInt(_height); packet.WriteInt(_format); }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteInt(this.Views.Count); for (int i = 0; i < this.Views.Count; i++) { packet.WriteInt(this.Views[i].ItemId); packet.WriteVector3(this.Views[i].Position); packet.WriteQuaternion(this.Views[i].Rotation); } }
public override void Write(UdpPacket packet) { base.Write(packet); packet.WriteInt((int)DeathState); packet.WriteInt(FactionId); packet.WriteInt(ModelId); packet.WriteInt(OriginalModelId); packet.WriteBool(FreeForAll); packet.WriteFloat(Scale); }
public void Write(UdpPacket packet) { packet.WriteString(UserName); packet.WriteString(DisplayName); packet.WriteString(IP); packet.WriteInt(AuthLevel); }
public override void Write(UdpPacket packet) { base.Write(packet); packet.WriteString(CustomName); packet.WriteInt(CreatureInfoId); }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteBoltEntity(this.Parent); packet.WriteVector3(this.P1); packet.WriteVector3(this.P2); packet.WriteBoltEntity(this.Support); packet.WriteInt((int)this.Additions); packet.WriteInt((this.PointsPositions == null) ? 0 : this.PointsPositions.Length); if (this.PointsPositions != null) { for (int i = 0; i < this.PointsPositions.Length; i++) { packet.WriteVector3(this.PointsPositions[i]); } } }
public void Write(UdpPacket packet) { packet.WriteString(Name); packet.WriteString(UnityId); packet.WriteString(Version); packet.WriteInt((int)PrefferedClass); }
public void Write(UdpPacket packet) { packet.WriteString(ServerName); packet.WriteString(Version); packet.WriteString(GameMode); packet.WriteString(MapName); packet.WriteBool(Public); packet.WriteBool(GameStarted); packet.WriteBool(CanBeJoined); packet.WriteInt(MaxPlayers); packet.WriteInt(CurrentPlayers); foreach (var nickname in PlayersNicknames) { packet.WriteString(nickname); } }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteBoltEntity(this.Parent); packet.WriteInt(this.Architects.Length); for (int i = 0; i < this.Architects.Length; i++) { packet.WriteInt(this.Architects[i].PointsCount); packet.WriteInt(this.Architects[i].PointsPositions.Length); packet.WriteToken(this.Architects[i].CustomToken); packet.WriteBool(this.Architects[i].AboveGround); packet.WriteBoltEntity(this.Architects[i].Support); for (int j = 0; j < this.Architects[i].PointsPositions.Length; j++) { packet.WriteVector3(this.Architects[i].PointsPositions[j]); } } }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteVector3(this.Scale); packet.WriteVector3(this.HipPosition); packet.WriteQuaternion(this.HipRotation); packet.WriteInt(this.MaterialIndex); packet.WriteFloat(this.skinDamage1); packet.WriteFloat(this.skinDamage2); packet.WriteFloat(this.skinDamage3); packet.WriteFloat(this.skinDamage4); packet.WriteInt(this.storedRagDollName); if (packet.WriteBool(this.OriginalMutant && this.OriginalMutant.IsAttached())) { packet.WriteBoltEntity(this.OriginalMutant); } packet.WriteBool(this.Skinny); packet.WriteInt(this.Props); }
public void Write(UdpPacket packet) { packet.WriteBoltEntity(this.Parent); for (int i = 0; i < this.Anchors.Length; i++) { packet.WriteBoltEntity(this.Anchors[i].Entity); packet.WriteInt(this.Anchors[i].Index); } }
public void Write(UdpPacket packet) { packet.WriteString(this.AdminPassword); packet.WriteString(this.ServerPassword); if (this.steamBlobToken != null) { packet.WriteInt(this.steamBlobToken.Length); for (int i = 0; i < this.steamBlobToken.Length; i++) { packet.WriteByte(this.steamBlobToken[i]); } } }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteBoltEntity(this.Parent); if (packet.WriteBool(this.Holes != null)) { packet.WriteInt(this.Holes.Length); for (int i = 0; i < this.Holes.Length; i++) { packet.WriteVector3(this.Holes[i]._position); packet.WriteVector2(this.Holes[i]._size); } } }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteBoltEntity(this.Parent); if (packet.WriteBool(this.Holes != null)) { int num = Mathf.Min(this.Holes.Length, 20); packet.WriteInt(num); for (int i = 0; i < num; i++) { packet.WriteVector3(this.Holes[i]._position); packet.WriteFloat(this.Holes[i]._yRotation); packet.WriteVector2(this.Holes[i]._size); } } }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteBoltEntity(this.Parent); packet.WriteFloat(this.Height); packet.WriteBoltEntity(this.Support); if (packet.WriteBool(this.Holes != null)) { packet.WriteInt(this.Holes.Length); for (int i = 0; i < this.Holes.Length; i++) { packet.WriteVector3(this.Holes[i]._position); packet.WriteVector2(this.Holes[i]._size); } } }
public void Write(UdpPacket packet) { packet.WriteString(DisplayName); packet.WriteInt(PlayerID); }
public void Write(UdpPacket packet) { packet.WriteInt(ticket.Length); packet.WriteByteArray(ticket); packet.WriteULong(steamid); }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteInt(this.ChunkIndex); }
public void Write(UdpPacket packet) { packet.WriteInt((int)Reason); }
public void Write(UdpPacket packet) { packet.WriteString(data); packet.WriteInt(playerIndex); }
void IProtocolToken.Write(UdpPacket packet) { packet.WriteBoltEntity(this.Anchor); packet.WriteInt(this.Index); }
public void Write(UdpPacket packet) { packet.WriteInt(intVal); }
public void Write(UdpPacket packet) { packet.WriteInt(onlineIndex); }
public void Write(UdpPacket packet) { packet.WriteString(RoomInfo); packet.WriteString(Gamemode); packet.WriteInt(PlayersCount); }
public void Write(UdpPacket packet) { packet.WriteString(playerName); packet.WriteInt(playerNumber); packet.WriteColorRGB(playerColor); }
public override void Write(UdpPacket packet) { base.Write(packet); packet.WriteInt((int)VisualEffectFlags); packet.WriteInt((int)DisplayPowerType); packet.WriteInt((int)DeathState); packet.WriteInt((int)EmoteType); packet.WriteInt((int)ClassType); packet.WriteInt(FactionId); packet.WriteInt(ModelId); packet.WriteInt(OriginalModelId); packet.WriteInt(OriginalAIInfoId); packet.WriteInt(DisplayPower); packet.WriteInt(DisplayPowerMax); packet.WriteBool(FreeForAll); packet.WriteFloat(Scale); }
public void Write(UdpPacket packet) { packet.WriteString(levelName); packet.WriteInt(playersInGame); packet.WriteString(messageOfTheDay); }