Skip to main content
Corvus Connection

RPG: Get Progression

Rpg
Query
Portent preview
Pro
rpg.getProgressionReads a viewer's level, experience toward the next level, Fortune, and unspent allocation points. Defaults to the triggering viewer; set userId to target a specific viewer. Safely reports the default block when the viewer has not joined.Awaits the viewer's progression; binds hasProgression / level / xpToNext / unspentPoints / fortune / atCap.
Engagement

Inputs

Name
Kind
Type
Flags
in
Exec
exec
multiplexed
  • Name
    in
    Kind
    Exec
    Type
    exec
    Flags
    multiplexed

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
hasProgression
Data
System.Boolean
multiplexed
level
Data
System.Int32
multiplexed
xpToNext
Data
System.Int64
multiplexed
unspentPoints
Data
System.Int32
multiplexed
fortune
Data
System.Int32
multiplexed
atCap
Data
System.Boolean
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    hasProgression
    Kind
    Data
    Type
    System.Boolean
    Flags
    multiplexed
  • Name
    level
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    xpToNext
    Kind
    Data
    Type
    System.Int64
    Flags
    multiplexed
  • Name
    unspentPoints
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    fortune
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    atCap
    Kind
    Data
    Type
    System.Boolean
    Flags
    multiplexed

Parameters

Name
Type
Required
Default
Choices
userId
System.String
no
""
None
  • Name
    userId
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None

Lowers to C#

var progression = await ctx.Rpg.Characters.GetProgressionAsync(userId);