Exemple #1
0
 protected override void Parse(ref BitStreamReader bsr)
 {
     PlayerMasks = new PlayerMask[VoiceMaxPlayers];
     for (int i = 0; i < VoiceMaxPlayers; i++)
     {
         PlayerMasks[i] = new PlayerMask {
             GameRulesMask = bsr.ReadSInt(), BanMask = bsr.ReadSInt()
         }
     }
     ;
     PlayerModEnable = bsr.ReadByte() != 0;
 }
Exemple #2
0
 static bool Prefix(PlayerMask __instance)
 {
     Debug.Log($"[ExtraFov] __instance is {__instance.referenceFov}");
     //__instance.referenceFov += 200.0f;
     return(true);
 }