Esempio n. 1
0
        public static PartyEntity GetPartyEntity(UInt32 key)
        {
            PartyEntity party;

            PartyEntities.TryGetValue(key, out party);
            return(party);
        }
Esempio n. 2
0
        public static bool RemovePartyEntity(UInt32 key)
        {
            PartyEntity removed;

            return(PartyEntities.TryRemove(key, out removed));
        }
Esempio n. 3
0
 public static void EnsurePartyEntity(UInt32 key, PartyEntity entity)
 {
     PartyEntities.AddOrUpdate(key, entity, (k, v) => entity);
 }