Sansar Docs
Ask or search…
K

Character Tracker

CharacterTracker Class

The CharacterTracker keeps track of the quests associated with a QuestCharacter for a user.

Syntax

Member Details

ActiveQuestCount Property

Number of this character's quests currently active for this user.

Syntax

[get: Sansar.Script.Interface] public int ActiveQuestCount { get; }
Value
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

ActiveQuestDefinitions Property

Currently active quests.

Syntax

[get: Sansar.Script.Interface] public QuestDefinition[] ActiveQuestDefinitions { get; }
Value
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

AvailableQuestCount Property

umber of this character's quests currently available for this user.

Syntax

[get: Sansar.Script.Interface] public int AvailableQuestCount { get; }
Value
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

AvailableQuestDefinitions Property

Quests that are available to be offered.

Syntax

[get: Sansar.Script.Interface] public QuestDefinition[] AvailableQuestDefinitions { get; }
Value
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

CanTurnInQuestCount Property

umber of this character's quests ready to be turned in for this user.

Syntax

[get: Sansar.Script.Interface] public int CanTurnInQuestCount { get; }
Value
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

CanTurnInQuestDefinitions Property

Quests that are ready to be turned in to this character.

Syntax

[get: Sansar.Script.Interface] public QuestDefinition[] CanTurnInQuestDefinitions { get; }
Value
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

SessionId Property

The session Id for the user being tracked.

Syntax

Value
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

Subscribe Method

Subscribes to CharacterTracker Events.

Syntax

See Also
Parameters
callback
Callback which is executed when the event completes.
persistent
Optional, set to false to unsubscribe after one event.
Returns
An Sansar.Script.IEventSubscription that can be used to cancel the subscription.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

ToString Method

A string representation of this object.

Syntax

[Sansar.Script.Interface] public override string ToString ()
Returns
A string representation of this object.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

Update Method

Update the CharacterTracker data.

Syntax

[Sansar.Script.Interface] public void Update ()

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

Update Method

Update the CharacterTracker data.

Syntax

Parameters
handler
Handler to be called when the event completes.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0


CharacterTrackerData Class

Handler for Character Tracker update events.

Syntax

Member Details

SessionId Property

The SessionId of the agent on the quest.

Syntax

Value

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0

ToString Method

A string representation of this object.

Syntax

[Sansar.Script.Interface] public override string ToString ()
Returns
A string representation of this object.

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0