SetProperty() public method

public SetProperty ( string name, string val, bool notifyServer = true ) : void
name string
val string
notifyServer bool
return void
コード例 #1
0
 public void SetCardProperty(Card card, Player player, string name, string val, string valtype)
 {
     if (player == Player.LocalPlayer)
     {
         return;
     }
     card.SetProperty(name, val, false);
 }
コード例 #2
0
 public void SetCardProperty(Card card, Player player, string name, string val, string valtype)
 {
     WriteReplayAction(player.Id);
     if (IsLocalPlayer(player))
     {
         return;
     }
     card.SetProperty(name, val, false);
 }
コード例 #3
0
ファイル: ClientHandler.cs プロジェクト: rexperalta/OCTGN
 public void SetCardProperty(Card card, Player player, string name, string val, string valtype)
 {
     if (player == Player.LocalPlayer) return;
     //var vtype = Type.GetType(valtype);
     //var objval = JsonConvert.DeserializeObject(val, vtype);
     card.SetProperty(name, val, false);
 }