public virtual bool SetOptionsFor(Player player, Hashtable options) { if (m_optionTable.ContainsKey(player)) { m_optionTable[player] = options; } else { m_optionTable.Add(player, options); } Messenger.Emit(GameMessages.Kind.SetOptionsFor.ToString(), player, options); return(true); }
static public void Emit <T, U, V>(Kind kind, T t, U u, V v) { Messenger.Emit <T, U, V>(kind.ToString(), t, u, v); }
static public void Emit <T, U>(Kind kind, T t, U u) { Messenger.Emit <T, U>(kind.ToString(), t, u); }
static public void Emit <T>(Kind kind, T t) { Messenger.Emit <T>(kind.ToString(), t); }
static public void Emit(Kind kind) { Messenger.Emit(kind.ToString()); }
public virtual void OnMapLoaded() { Messenger.Emit(GameMessages.Kind.WorldLoaded.ToString(), this); }
public void RemoveThing(GameThing gt) { Messenger.Emit(GameMessages.Kind.ThingRemoved.ToString(), gt); m_thingList.Add(gt); }
public void AddThing(GameThing gt) { m_thingList.Add(gt); Messenger.Emit(GameMessages.Kind.ThingAdded.ToString(), gt); }