public static void EventHandler_2(this RoomNpcComponent self, object a, object b) { long maxId = Math.Max((long)a, (long)b); long minId = Math.Min((long)a, (long)b); List <long> ids = new List <long>(); for (long i = minId; i <= maxId; i++) { ids.Add(i); } self.RefreshConfig(ids.ToArray()); }
public static void EventHandler_1(this RoomNpcComponent self, object a) { self.RefreshConfig((long)a); }