# Commander Mastery Level Of Player

Grammar — Commander Mastery Level of player p
FlagsNative | Function

Returns the commander mastery level of the player.

# Arguments

  • int — Player

Returns — int

native int PlayerCommanderMasteryLevel(int inPlayer);

Category: Player / Player Settings

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4535

    libCOOC_gf_CC_PlayerLevelSet(lp_player, lv_currentLevel, lv_chosenCommander);
    libCOOC_gf_CC_SetPlayerPrestigeIndex(lp_player, PlayerCommanderSelectedPrestige(lp_player));
    libCOOC_gf_CC_PlayerMasteryLevelSet(lp_player, PlayerCommanderMasteryLevel(lp_player));
    auto01FD1831_ai = 0;
    auto01FD1831_ae = UserDataInstanceCount("MasteryUpgrades")+1;