Ejemplo n.º 1
0
 public void SetData(eCOLOSSEUM_CONSTANT eConst, int value)
 {
     if (eConst < eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_MATCH_RANGE || eConst >= eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_MAX)
     {
         return;
     }
     this.m_CommonConstant[(int)eConst] = value;
 }
Ejemplo n.º 2
0
 public int GetValue(eCOLOSSEUM_CONSTANT Const)
 {
     if (Const < eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_MATCH_RANGE || Const >= eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_MAX)
     {
         return(0);
     }
     return(this.m_CommonConstant[(int)Const]);
 }
 public void Init()
 {
     this.m_eConstant = eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_MAX;
     this.m_nConstant = 0;
 }