Exemplo n.º 1
0
        internal void Minus(Enums.Game_Resource _Resource, int _Value)
        {
            int Index = this.FindIndex(T => T.Identifier == 3000000 + (int)_Resource);

            if (Index > -1)
            {
                this[Index].Value -= _Value;
            }
        }
Exemplo n.º 2
0
 internal void Plus(Enums.Game_Resource Resource, int Count)
 {
     this.Plus(3000000 + (int)Resource, Count);
 }
Exemplo n.º 3
0
 internal void Set(Enums.Game_Resource Resource, int Count)
 {
     this.Set(3000000 + (int)Resource, Count);
 }
Exemplo n.º 4
0
 internal int Get(Enums.Game_Resource Gl_ID)
 {
     return(this.Get(3000000 + (int)Gl_ID));
 }