Struct GameService
pub struct GameService;
Implementations§
§impl GameService
impl GameService
pub fn ServiceUri() -> Result<Uri>
pub fn GetGamerProfileAsync() -> Result<IAsyncOperation<GameServicePropertyCollection>>
pub fn GetInstalledGameItemsAsync() -> Result<IAsyncOperation<GameServicePropertyCollection>>
pub fn GetPartnerTokenAsync<P0>(
audienceuri: P0,
) -> Result<IAsyncOperation<HSTRING>>where
P0: Param<Uri>,
pub fn GetPrivilegesAsync() -> Result<IAsyncOperation<HSTRING>>
pub fn GrantAchievement(achievementid: u32) -> Result<()>
pub fn GrantAvatarAward(avatarawardid: u32) -> Result<()>
pub fn PostResult<P4>(
gamevariant: u32,
scorekind: GameServiceScoreKind,
scorevalue: i64,
gameoutcome: GameServiceGameOutcome,
buffer: P4,
) -> Result<()>where
P4: Param<IBuffer>,
pub fn NotifyPartnerTokenExpired<P0>(audienceuri: P0) -> Result<()>where
P0: Param<Uri>,
pub fn GetAuthenticationStatus() -> Result<u32>
Auto Trait Implementations§
impl Freeze for GameService
impl RefUnwindSafe for GameService
impl Send for GameService
impl Sync for GameService
impl Unpin for GameService
impl UnwindSafe for GameService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more