public ObjectStatusData(int object_id, TilePoint tile_position, StatData[] data)
 {
     this.ObjectId     = object_id;
     this.TilePosition = tile_position;
     this.Data         = data;
 }
 public void Write(TilePoint value)
 {
     this.Write(value.X);
     this.Write(value.Y);
 }
 public ObjectStatusData(int object_id, TilePoint tile_position, StatData[] data)
 {
     this.ObjectId = object_id;
     this.TilePosition = tile_position;
     this.Data = data;
 }
 public void SendPlayerShoot(int time, byte bullet_id, short container_type, TilePoint starting_position, float angle)
 {
     this.SendPacket(new PlayerShootPacket(time, bullet_id, container_type, starting_position, angle));
 }
 public void SendMove(int tick_id, int time, TilePoint new_position)
 {
     this.SendPacket(new MovePacket(tick_id, time, new_position));
 }
 public void SendInventorySwap(int time, TilePoint position, SlotObject slot_object1, SlotObject slot_object2)
 {
     this.SendPacket(new InventorySwapPacket(time, position, slot_object1, slot_object2));
 }
 public void SendUseItem(int time, int object_id, byte slot_id, TilePoint item_use_position)
 {
     this.SendPacket(new UseItemPacket(time, object_id, slot_id, item_use_position));
 }