Initial Commit of 1.2.4, all data handlers are currently off.
This commit is contained in:
parent
8d32d16bff
commit
871ad1fd2a
11 changed files with 109 additions and 88 deletions
|
|
@ -32,12 +32,12 @@ namespace TShockAPI.Net
|
|||
public void PackFull(Stream stream)
|
||||
{
|
||||
long start = stream.Position;
|
||||
stream.WriteInt32(1);
|
||||
stream.WriteInt16(0);
|
||||
stream.WriteInt8((byte) ID);
|
||||
Pack(stream);
|
||||
long end = stream.Position;
|
||||
stream.Position = start;
|
||||
stream.WriteInt32((int) (end - start) - 4);
|
||||
stream.WriteInt16((short)end);
|
||||
stream.Position = end;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue