示例#1
0
        public static void MobileNameRequest(NetState state, CircularBufferReader reader, ref int packetLength)
        {
            var m = World.FindMobile((Serial)reader.ReadUInt32());

            if (m != null && Utility.InUpdateRange(state.Mobile.Location, m.Location) && state.Mobile.CanSee(m))
            {
                state.SendMobileName(m);
            }
        }
示例#2
0
        public static void MobileNameRequest(NetState state, CircularBufferReader reader)
        {
            var m = World.FindMobile(reader.ReadUInt32());

            if (m != null && Utility.InUpdateRange(state.Mobile, m) && state.Mobile.CanSee(m))
            {
                state.SendMobileName(m);
            }
        }