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

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

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