Example #1
0
 public static void Use(Flag Flag)
 {
     if (Game.IsHost())
     {
         FlagsController.Use(Flag, PlayerControl.LocalPlayer);
     }
     else
     {
         FlagUseMessage.INSTANCE.Send(Flag);
     }
 }
Example #2
0
 protected override void Handle()
 {
     FlagsController.ReadSync(Reader);
 }
Example #3
0
 protected override void Handle()
 {
     FlagsController.Use(Reader.ReadFlag(), ReadPlayer());
 }