wServer.realm.RealmManager.PlayerVault C# (CSharp) 메소드

PlayerVault() 공개 정적인 메소드

public static PlayerVault ( ClientProcessor processor ) : Vault
processor ClientProcessor
리턴 wServer.realm.worlds.Vault
        public static Vault PlayerVault(ClientProcessor processor)
        {
            Vault v;
            var id = processor.Account.AccountId;
            if (Vaults.ContainsKey(id))
            {
                v = Vaults[id];
            }
            else
            {
                v = Vaults[id] = (Vault) AddWorld(new Vault(false, processor));
            }
            return v;
        }