Beispiel #1
0
        public void SetCharacterOptions1(CharacterOptions1 option, bool value)
        {
            if (value)
            {
                CharacterOptions1Mapping |= (int)option;
            }
            else
            {
                CharacterOptions1Mapping &= ~(int)option;
            }

            dirtyOptions = true;
        }
        private void SetCharacterOptions1(CharacterOptions1 option, bool value)
        {
            var options = Character.CharacterOptions1;

            if (value)
            {
                options |= (int)option;
            }
            else
            {
                options &= ~(int)option;
            }

            SetCharacterOptions1(options);
        }
Beispiel #3
0
        public void SetCharacterOptions1(CharacterOptions1 option, bool value)
        {
            var options = GetProperty(PropertyInt.CharacterOptions1) ?? 0;

            if (value)
            {
                options |= (int)option;
            }
            else
            {
                options &= ~(int)option;
            }

            SetProperty(PropertyInt.CharacterOptions1, options);
        }
 private bool GetCharacterOptions1(CharacterOptions1 option)
 {
     return((Character.CharacterOptions1 & (int)option) != 0);
 }
Beispiel #5
0
 public bool GetCharacterOptions1(CharacterOptions1 option)
 {
     return((GetProperty(PropertyInt.CharacterOptions1) & (uint)option) != 0);
 }
Beispiel #6
0
 public CharacterOptions1Attribute(CharacterOptions1 option)
 {
     Option = option;
 }
Beispiel #7
0
 public bool GetCharacterOptions1(CharacterOptions1 option)
 {
     return((CharacterOptions1Mapping & (uint)option) != 0);
 }