//0x1B private static void OnLoginConfirm(Packet p) { Mobiles.Add(Player = new PlayerMobile(p.ReadUInt())); p.Skip(4);//unknown Player.Graphic = p.ReadUShort(); Player.Position = new Position(p.ReadUShort(), p.ReadUShort(), (sbyte)p.ReadUShort()); Player.Direction = (Direction)p.ReadByte(); //p.Skip(9);//unknown //p.ReadUShort();//map width //p.ReadUShort();//map height Player.ProcessDelta(); Mobiles.ProcessDelta(); }
private static void Clear() { Player = null; Items.Clear(); Mobiles.Clear(); party = new Serial[10]; movementQueue.Clear(); Cleared.Raise(); }