public void RemoveCardValuesFromPlayer(MyPlayer player, List <byte> cardValuesToRemove)
 {
     protectedData.RemoveCardValuesFromPlayer(player, cardValuesToRemove);
 }
 public void AddBooksForPlayer(MyPlayer player, int numberOfNewBooks)
 {
     protectedData.AddBooksForPlayer(player, numberOfNewBooks);
 }
 public void AddCardValueToPlayer(MyPlayer player, byte cardValue)
 {
     protectedData.AddCardValueToPlayer(player.PlayerId, cardValue);
 }
 public List <byte> PlayerCards(MyPlayer player)
 {
     return(protectedData.PlayerCards(player));
 }
 public GameDataManager(MyPlayer local, MyPlayer remote, string roomId = "1234567890123456")
 {
     localPlayer   = local;
     remotePlayer  = remote;
     protectedData = new ProtectedData(localPlayer.PlayerId, remotePlayer.PlayerId);
 }
Exemple #6
0
 public LeastCountManager(MyPlayer local, MyPlayer remote)
 {
     localPlayer   = local;
     remotePlayer  = remote;
     protectedData = new ProtectedData(localPlayer.PlayerId, remotePlayer.PlayerId);
 }
Exemple #7
0
 public void RemoveCardValueFromPlayer(MyPlayer player, byte cardValueToRemove)
 {
     protectedData.RemoveCardValueFromPlayer(player, cardValueToRemove);
 }