public CommandSetFacingUp(CommandSetFacingUpMessage message)
 {
     this.caller     = message.caller.GetComponent <Player>();
     this.card       = message.card.GetComponent <CardView>();
     this.zone       = message.zone.GetComponent <Zone>();
     this.isFacingUp = message.isFacingUp;
     this.Multi      = message.multi;
     exIsFacingUp    = card.ExIsFacingUp;
 }
Example #2
0
 public void RpcSetFacingUpOnClients(CommandSetFacingUpMessage commandMessage, bool executeOnAllClients)
 {
     /*if (isLocalPlayer)
      *  return;*/
     commandMessage.GetCommand().ExecuteOnClient(executeOnAllClients);
 }
Example #3
0
 public void CmdSetFacingUpOnClients(CommandSetFacingUpMessage commandMessage)
 {
     Instance.ExecuteServerCommand(commandMessage.GetCommand(), true);
 }