Exemplo n.º 1
0
 public static int GetSettings(Settings Setting)
 {
     int flags = 0;
     if (Setting.HairSwitch == 1)
     {
         SetFlags(ref flags, 7, true);
     }
     if (Setting.CostumeType == 1)
     {
         SetFlags(ref flags, 4, true);
         return flags;
     }
     SetFlags(ref flags, 6, true);
     return flags;
 }
Exemplo n.º 2
0
 public static void OptionSetting(Player player, Settings settings)
 {
     PlayerService.UpdateClientSetting(player, settings);
 }