Esempio n. 1
0
 public Character(uint UniqueID, SocketClient socClient)
 {
     this.Owner         = socClient;
     this.UniqueID      = UniqueID;
     this.Screen        = new Mapping.Screen(socClient);
     this.AttackHandler = new Attacking.AttackHandler(socClient);
     this.CurrentDialog = new NPCs.NPCHandler(socClient);
     this.Inventory     = new Items.Inventory(socClient);
     this.Equipment     = new Items.Equipment(socClient);
     PacketWriter       = new Packets.Writer(102);
     PacketWriter.Fill((ushort)102, 0);
     PacketWriter.Fill((ushort)1014, 2);
     PacketWriter.Fill(UniqueID, 4);
     PacketWriter.Fill((byte)1, 80);
 }
Esempio n. 2
0
 public Character(uint UniqueID, SocketClient socClient)
 {
     this.Owner = socClient;
     this.UniqueID = UniqueID;
     this.Screen = new Mapping.Screen(socClient);
     this.AttackHandler = new Attacking.AttackHandler(socClient);
     this.CurrentDialog = new NPCs.NPCHandler(socClient);
     this.Inventory = new Items.Inventory(socClient);
     this.Equipment = new Items.Equipment(socClient);
     PacketWriter = new Packets.Writer(102);
     PacketWriter.Fill((ushort)102, 0);
     PacketWriter.Fill((ushort)1014, 2);
     PacketWriter.Fill(UniqueID, 4);
     PacketWriter.Fill((byte)1, 80);
 }