public static PartyEntity GetPartyEntity(UInt32 key) { PartyEntity party; PartyEntities.TryGetValue(key, out party); return(party); }
public static bool RemovePartyEntity(UInt32 key) { PartyEntity removed; return(PartyEntities.TryRemove(key, out removed)); }
public static void EnsurePartyEntity(UInt32 key, PartyEntity entity) { PartyEntities.AddOrUpdate(key, entity, (k, v) => entity); }