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