Exemple #1
0
 protected void DisableFlag(ProtoGameServer.FLAGS_CODE code)
 {
     mFlags = mFlags & ~((uint)code);
 }
Exemple #2
0
 protected bool IsEnable(ProtoGameServer.FLAGS_CODE code)
 {
     return((mFlags & ((uint)code)) != 0 ? true : false);
 }