//npc public void SendNpcInfo(BaseObject obj) { if (GetGameSession() == null) return; NetMsg.MsgNpcInfo info = new NetMsg.MsgNpcInfo(); info.Create(null, session.GetGamePackKeyEx()); int lookface = (obj as NpcObject).mInfo.lookface; info.Init(obj.GetID(), obj.GetCurrentX(), obj.GetCurrentY(), lookface); this.SendData(info.GetBuffer()); }