WriteInt() публичный Метод

4字节写入
public WriteInt ( int v ) : void
v int
Результат void
Пример #1
0
 public NetBuffer Serialize(NetBuffer buffer)
 {
     buffer.WriteUInt(pid);
     buffer.WriteUInt(index);
     buffer.WriteInt(dataSize);
     buffer.WriteUShort(checksum);
     return(buffer);
 }
Пример #2
0
 public NetBuffer Serialize(NetBuffer buffer)
 {
     buffer.WriteUInt(sid);
     buffer.WriteUInt(token);
     buffer.WriteUInt(cmd);
     buffer.WriteUInt(index);
     buffer.WriteULong(player);
     buffer.WriteInt(zone);
     buffer.WriteULong(runner);
     buffer.WriteUInt(dataSize);
     buffer.WriteUInt(checksum);
     return(buffer);
 }
Пример #3
0
 public override void WriteToBuffer(NetBuffer buffer)
 {
     buffer.WriteInt(value);
 }