public int GetGameResourceInfo(GameResourceKey key) { int ret; gameResourceInfo_.TryGetValue(key, out ret); return(ret); }
public void SetGameResourceInfo(GameResourceKey key, int value) { gameResourceInfo_[key] = value; }
public bool GetGameResourceInfo(GameResourceKey key, out int value) { return(gameResourceInfo_.TryGetValue(key, out value)); }