Пример #1
0
 public void SetCharacterOptions1(int value)
 {
     CharacterDatabaseLock.EnterWriteLock();
     try
     {
         Character.CharacterOptions1 = value;
         CharacterChangesDetected    = true;
     }
     finally
     {
         CharacterDatabaseLock.ExitWriteLock();
     }
 }
Пример #2
0
 public void SetCharacterGameplayOptions(byte[] value)
 {
     CharacterDatabaseLock.EnterWriteLock();
     try
     {
         Character.GameplayOptions = value;
         CharacterChangesDetected  = true;
     }
     finally
     {
         CharacterDatabaseLock.ExitWriteLock();
     }
 }