Modules§
- view_
states - used in
trigger_viewto define what view to open.
Structs§
- Achievement
Progress Result - Achievements
Reset Result - Authentication
Result - Bevy
IosGamecenter - Observer based API conveniently call and async wait for a gamecenter API response
- Bevy
IosGamecenter Set - Delete
Save Game Result - Fetch
Items ForSignature Verification Result - IosGC
Achievement - IosGC
Fetch Items ForSignature Verification - IosGC
Player - Expected event data in response to
request_playermethod call. See EventIosGamecenterEvents - IosGC
Save Game - Save Game meta data.
Expected event data in response to
save_gameorfetch_save_gamesmethod call. See EventIosGamecenterEvents - IosGC
Save Games - IosGamecenter
Plugin - Bevy plugin to integrate access to iOS Gamecenter
- Load
Games Result - Player
Result - Resolved
Conflicts Result - Save
Games Result - Saved
Game Result - Score
Submit Result
Enums§
- IosGC
Achievement Progress Response - Expected event data in response to
achievement_progressmethod call. See EventIosGamecenterEvents - IosGC
Achievements Reset Response - Expected event data in response to
achievements_resetmethod call. See EventIosGamecenterEvents - IosGC
Auth Result - Expected event data in response to [
init] method call or implicit on startup when registering Plugin viaIosGamecenterPlugin::new(true). - IosGC
Delete Save Game Response - Expected event data in response to
delete_savegamemethod call. See EventIosGamecenterEvents - IosGC
Fetch Items ForSignature Verification Response - Expected event data in response to
fetch_signaturemethod call. See EventIosGamecenterEvents - IosGC
Load Games Response - Expected event data in response to
load_gamemethod call. See EventIosGamecenterEvents - IosGC
Resolved Conflicts Response - IosGC
Save Games Response - Expected event data in response to
fetch_save_gamesmethod call. See EventIosGamecenterEvents - IosGC
Saved Game Response - Expected event data in response to
save_gamemethod call. See EventIosGamecenterEvents - IosGC
Score Submit Response - Expected event data in response to
leaderboards_scoremethod call. See EventIosGamecenterEvents - IosGamecenter
Events - All events for communication from native iOS (Swift) side to Rust/Bevy
Functions§
- achievement_
progress - Updates progress on an Achievement.
Expected to be confirmed with
IosGamecenterEvents::AchievementProgressevent - achievements_
reset - Resets all achievements.
Expected to be confirmed with
IosGamecenterEvents::AchievementsResetevent - authenticate
- Authenticate
Expected to be confirmed with
IosGamecenterEvents::Authenticationevent - delete_
savegame - Delete Save Game by name
Expected to be confirmed with
IosGamecenterEvents::DeletedSaveGameevent See https://developer.apple.com/documentation/gamekit/gklocalplayer/1520951-deletesavedgameswithname - fetch_
save_ games - Requests a list of all available SaveGames
Expected to be confirmed with
IosGamecenterEvents::SaveGamesevent - fetch_
signature - Fetch Items for Signature Verification
Expected to be confirmed with
IosGamecenterEvents::ItemsForSignatureVerificationevent See https://developer.apple.com/documentation/gamekit/gklocalplayer/3516283-fetchitemsforidentityverificatio - init_
listeners - Init internal listener that allows us to receive conflicting save game notifications
- leaderboards_
score - Submits score to a leaderboard
Expected to be confirmed with
IosGamecenterEvents::LeaderboardScoreSubmittedevent - load_
game - Requests the Data inside a given
IosGCSaveGameExpected to be confirmed withIosGamecenterEvents::SavedGameevent - request_
player - Request Player Infos
Expected to be confirmed with
IosGamecenterEvents::Playerevent - resolve_
conflicting_ games - Resolve conflicting save games.
Conflicts will be reported via the
IosGamecenterEvents::ConflictingSaveGamesevent. Define the resolved save game viadata, the conflicting save games will share the same name and the resolved save game will have a new timestamp. Expected to be confirmed withIosGamecenterEvents::ResolvedConflictsevent. See https://developer.apple.com/documentation/gamekit/gklocalplayer/1521116-resolveconflictingsavedgames - save_
game - Save Game under
nameExpected to be confirmed withIosGamecenterEvents::SavedGameevent - trigger_
view - Opens Gamecenter View to a specific
IosGCViewState
Type Aliases§
- IosGC
View State - used in
trigger_viewto define what view to open