Difference between revisions of "PlayerExtended"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the PlayerExtended class)
(Documentation for the PlayerExtended class)
Line 21: Line 21:
 
::Parameters:
 
::Parameters:
 
:::{{CSharp|player}} : This player
 
:::{{CSharp|player}} : This player
:::{{CSharp|identifier}} : The Achievement Identifier
+
:::{{CSharp|identifier}} : The Quest Identifier
 
::
 
::
 
::Fires when the player abandons (quits) a quest
 
::Fires when the player abandons (quits) a quest
Line 28: Line 28:
 
::Parameters:
 
::Parameters:
 
:::{{CSharp|player}} : This player
 
:::{{CSharp|player}} : This player
:::{{CSharp|identifier}} : The Achievement Identifier
+
:::{{CSharp|identifier}} : The Quest Identifier
 
::
 
::
 
::Fires when the player makes progress toward a quest (advances to the next step).
 
::Fires when the player makes progress toward a quest (advances to the next step).
Line 35: Line 35:
 
::Parameters:
 
::Parameters:
 
:::{{CSharp|player}} : This player
 
:::{{CSharp|player}} : This player
:::{{CSharp|identifier}} : The Achievement Identifier
+
:::{{CSharp|identifier}} : The Quest Identifier
 
::
 
::
 
::Fires when the player completes a quest (successfully)
 
::Fires when the player completes a quest (successfully)
Line 42: Line 42:
 
::Parameters:
 
::Parameters:
 
:::{{CSharp|player}} : This player
 
:::{{CSharp|player}} : This player
:::{{CSharp|identifier}} : The Achievement Identifier
+
:::{{CSharp|identifier}} : The Quest Identifier
 
::
 
::
 
::Fires when the player starts a new quest
 
::Fires when the player starts a new quest
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Revision as of 17:38, 19 September 2018

Represents a Player, which is the GameCloud's representation of a connected user, the quests progress, achievements, advancement, etc.

  • This is a JavaScript visible object

Remarks [edit]

Properties

ParticipantExtended Participant {get;}
Gets the participant for this player

Events

OnAchievementWon(PlayerExtended player, String identifier)
Parameters:
player : This player
identifier : The Achievement Identifier
Fires when the player wins an achievement
OnQuestAbandoned(PlayerExtended player, String identifier)
Parameters:
player : This player
identifier : The Quest Identifier
Fires when the player abandons (quits) a quest
OnQuestAdvanced(PlayerExtended player, String identifier)
Parameters:
player : This player
identifier : The Quest Identifier
Fires when the player makes progress toward a quest (advances to the next step).
OnQuestCompleted(PlayerExtended player, String identifier)
Parameters:
player : This player
identifier : The Quest Identifier
Fires when the player completes a quest (successfully)
OnQuestStarted(PlayerExtended player, String identifier)
Parameters:
player : This player
identifier : The Quest Identifier
Fires when the player starts a new quest