Esempio n. 1
0
        internal SignedInGamer(
            string gamertag,
            bool isSignedInToLive   = false,
            bool isGuest            = false,
            PlayerIndex playerIndex = PlayerIndex.One
            ) : base(gamertag, gamertag)
        {
            IsGuest          = isGuest;
            IsSignedInToLive = isSignedInToLive;
            PlayerIndex      = playerIndex;

            // TODO: Everything below
            GameDefaults = new GameDefaults();
            Presence     = new GamerPresence();
            Privileges   = new GamerPrivileges();
            PartySize    = 1;
        }
Esempio n. 2
0
        internal SignedInGamer(
            CSteamID id,
            string gamertag,
            bool isSignedInToLive   = false,
            bool isGuest            = false,
            PlayerIndex playerIndex = PlayerIndex.One
            ) : base(id, gamertag, gamertag)
        {
            IsGuest          = isGuest;
            IsSignedInToLive = isSignedInToLive;
            PlayerIndex      = playerIndex;

            statsStored = Callback <UserStatsStored_t> .Create(OnStatsStored);

            statsReceived = Callback <UserStatsReceived_t> .Create(OnStatsReceived);

            // TODO: Everything below
            GameDefaults = new GameDefaults();
            Presence     = new GamerPresence();
            Privileges   = new GamerPrivileges();
            PartySize    = 1;
        }