Client UUID Implementation: Bans and User Auth.
Send ServerSideCharacter flag if set in WorldInfo.
This commit is contained in:
parent
2569c10823
commit
b2a8198bb1
12 changed files with 158 additions and 26 deletions
|
|
@ -32,7 +32,8 @@ namespace TShockAPI.Net
|
|||
DownedBoss2 = 4,
|
||||
DownedBoss3 = 8,
|
||||
HardMode = 16,
|
||||
DownedClown = 32
|
||||
DownedClown = 32,
|
||||
ServerSideCharacter = 64
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
|
@ -141,7 +142,7 @@ namespace TShockAPI.Net
|
|||
stream.WriteByte(HellBackStyle);
|
||||
stream.WriteSingle(WindSpeed);
|
||||
stream.WriteByte(NumberOfClouds);
|
||||
stream.WriteInt8((byte) BossFlags);
|
||||
stream.WriteInt8((byte)BossFlags);
|
||||
stream.WriteInt8((byte)BossFlags2);
|
||||
stream.WriteSingle(Rain);
|
||||
stream.WriteBytes(Encoding.UTF8.GetBytes(WorldName));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue