You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed PBEAction struct into the PBETurnAction class
Changed the switch-ins value tuple into the PBESwitchIn class
Renamed PBEAIManager to PBEAI
Renamed PBETarget to PBETurnTarget
Removed the Teams array from PBEBattle and made the PBETeams class
Added "OpposingTeam" into PBETeam
Using IEnumerable<T> way less because it wasn't good
Changed 3-line <summary> comments into 1-line comments
Cleaned up most switch statements to throw ArgumentOutOfRangeException
Added victim to PBEMoveCritPacket
Changed pp into an int (partial #200)
Changed moves, pp, and maxpps in PBEPokemon into the PBEBattleMoveset class which also adds KnownPP
Added IDisposable to classes so they can unsubscribe from events
Added ArgumentNullException checks to public methods
Renamed PBEMovesetBuilder to PBEMoveset
Renamed PBEEffortValueCollection to PBEEffortValues
Renamed PBEIndividualValueCollection to PBEIndividualValues
For the above three, setting values is simplified to properties (no longer done with methods)
Changed PBETeam.Party into a PBEList and added a Remove() method
PBESetPartyPacket was renamed to PBETeamPacket and is now sent by the battle itself (and so the replays do not need to store the party explicitly, the packet within the replay will load the party)
Ids are now based on the team id, so that way team 2 does not know how many Pokémon team 1 has
PropertyChanged and CollectionChanged events will now only fire if they ACTUALLY changed
PBEPokemonShell can now be created publicly (but not added to a PBETeamShell yet)
Packets now are created internally with methods to make the info hidden (special packets are still public, such as sending your team)
Packets also now properly store the Buffer property when being received/read
Packet buffers are now read only collections of bytes and less overhead goes into creating them
Time was removed from the PBETurnBeganPacket because it wasn't necessary and didn't really make sense
All project files now define the entry point
Silenced the "missing xml comment" warning to allow for better focus on actual warnings and errors
[CLIENT]
BattleClient now properly responds to the PBEMatchCancelledPacket and the packet timer was removed in place of a thread that only starts once all packets are received
BattleClient also now includes the player's PBETeam for easy access
Changed public setters to private/internal ones
[ISSUES]
Closes#142Closes#203Fixes#208Closes#209Fixes#211
TODO:
DONE:
The text was updated successfully, but these errors were encountered: