GetID() 공개 메소드

public GetID ( ) : uint
리턴 uint
예제 #1
0
        //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());
        }