12 int uid = t.owner.uid;
22 this.items.Add(uid, item);
24 item.uidZone = uidZone;
32 int uid = t.owner.uid;
37 List<Zone> list =
new List<Zone>();
38 foreach (KeyValuePair<int, TeleportManager.Item> keyValuePair
in this.items)
40 if (keyValuePair.Key != uid && keyValuePair.Value.id ==
id)
42 Zone zone =
EClass.game.spatials.Find(keyValuePair.Value.uidZone);
43 if (zone !=
null && zone !=
EClass._zone)
49 return list.RandomItem<
Zone>();
53 public void Remove(
int uidThing)
55 this.items.Remove(uidThing);