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); } }
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); } }