Ejemplo n.º 1
0
 public ObjectStatusData(int object_id, TilePoint tile_position, StatData[] data)
 {
     this.ObjectId     = object_id;
     this.TilePosition = tile_position;
     this.Data         = data;
 }
Ejemplo n.º 2
0
 public void Write(TilePoint value)
 {
     this.Write(value.X);
     this.Write(value.Y);
 }
Ejemplo n.º 3
0
 public ObjectStatusData(int object_id, TilePoint tile_position, StatData[] data)
 {
     this.ObjectId = object_id;
     this.TilePosition = tile_position;
     this.Data = data;
 }
Ejemplo n.º 4
0
 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));
 }
Ejemplo n.º 5
0
 public void SendMove(int tick_id, int time, TilePoint new_position)
 {
     this.SendPacket(new MovePacket(tick_id, time, new_position));
 }
Ejemplo n.º 6
0
 public void SendInventorySwap(int time, TilePoint position, SlotObject slot_object1, SlotObject slot_object2)
 {
     this.SendPacket(new InventorySwapPacket(time, position, slot_object1, slot_object2));
 }
Ejemplo n.º 7
0
 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));
 }