Skip to content

Get Sansar

Script API

ObjectiveData

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Class Namespace Sansar.Simulation Inherits Sansar.Script.EventData Added in 34.7.0

Handler for Objective state change events.

public class ObjectiveData : Sansar.Script.EventData

Members at a glance

KindMembers
PropertiesAgentId · State
MethodsToString

Properties

AgentId

Added in 34.7.0
public Sansar.Script.SessionId AgentId { get; }

The SessionId of the agent on the quest.

State

Added in 34.7.0
public ObjectiveState State { get; }

The state of the objective

Methods

ToString

Added in 34.7.0
public override string ToString()

A string representation of this object.

Returns: string — A string representation of this object.

Remarks

The format of this string may change between releases.

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.