Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
SineSpace.Scripting.Player.SQuests Class Reference

Public Member Functions

 SQuests (SScript sScript)
 
void StartQuest (int id)
 Forces the quest present in the scene, with ID specified to start.
 
int GetQuestStep (int questID)
 Forces the quest present in the scene, with ID specified to start.
 
void ResetQuest (int id)
 Forces the quest present in the scene, with ID specified to reset.
 
void SetQuestStep (int questID, int step)
 Forces the quest present in the scene, with ID specified to start.
 
void CompleteQuest (int questID)
 Forces the quest present in the scene, with ID specified to start.
 
void AbortQuest (int id)
 Forces the quest present in the scene, with ID specified to start.
 
void AwardAchievement (int id)
 Forces the quest present in the scene, with ID specified to start.
 
bool HasAchievement (int id)
 Forces the quest present in the scene, with ID specified to start.
 

Constructor & Destructor Documentation

◆ SQuests()

SineSpace.Scripting.Player.SQuests.SQuests ( SScript sScript)

Member Function Documentation

◆ AbortQuest()

void SineSpace.Scripting.Player.SQuests.AbortQuest ( int id)

Forces the quest present in the scene, with ID specified to start.

local quest=Space.Quests
local id=99649
function Abort()
quest.AbortQuest(id)
end
void AbortQuest(int id)
Forces the quest present in the scene, with ID specified to start.
Definition SQuests.cs:157
Parameters
idID of a quest present in the scene

◆ AwardAchievement()

void SineSpace.Scripting.Player.SQuests.AwardAchievement ( int id)

Forces the quest present in the scene, with ID specified to start.

local quest=Space.Quests
local id=99649
function Award()
end
void AwardAchievement(int id)
Forces the quest present in the scene, with ID specified to start.
Definition SQuests.cs:179
Parameters
idID of a quest present in the scene

◆ CompleteQuest()

void SineSpace.Scripting.Player.SQuests.CompleteQuest ( int questID)

Forces the quest present in the scene, with ID specified to start.

local quest=Space.Quests
local id=99649
function Complete()
quest.CompleteQuest(id)
end
void CompleteQuest(int questID)
Forces the quest present in the scene, with ID specified to start.
Definition SQuests.cs:130
Parameters
questIDID of a quest present in the scene

◆ GetQuestStep()

int SineSpace.Scripting.Player.SQuests.GetQuestStep ( int questID)

Forces the quest present in the scene, with ID specified to start.

local quest=Space.Quests
local id=99649
function GetSteps()
quest.GetQuestStep(id)
end
int GetQuestStep(int questID)
Forces the quest present in the scene, with ID specified to start.
Definition SQuests.cs:54
Parameters
questIDID of a quest present in the scene

◆ HasAchievement()

bool SineSpace.Scripting.Player.SQuests.HasAchievement ( int id)

Forces the quest present in the scene, with ID specified to start.

local quest=Space.Quests
local id=99649
Space.Log(quest.HasAchievement)
Parameters
idID of a quest present in the scene

◆ ResetQuest()

void SineSpace.Scripting.Player.SQuests.ResetQuest ( int id)

Forces the quest present in the scene, with ID specified to reset.

local quest=Space.Quests
local id=99649
function Reset()
quest.ResetQuest(id)
end
void ResetQuest(int id)
Forces the quest present in the scene, with ID specified to reset.
Definition SQuests.cs:79
Parameters
idID of a quest present in the scene

◆ SetQuestStep()

void SineSpace.Scripting.Player.SQuests.SetQuestStep ( int questID,
int step )

Forces the quest present in the scene, with ID specified to start.

local quest=Space.Quests
local id=99649
function Set()
quest.SetQuestStep(id,1)
end
void SetQuestStep(int questID, int step)
Forces the quest present in the scene, with ID specified to start.
Definition SQuests.cs:106
Parameters
questIDID of a quest present in the scene
stepThe step of the quest in the scene

◆ StartQuest()

void SineSpace.Scripting.Player.SQuests.StartQuest ( int id)

Forces the quest present in the scene, with ID specified to start.

local quest=Space.Quests
local id=99649
function Start()
quest.StartQuest(id)
end
void StartQuest(int id)
Forces the quest present in the scene, with ID specified to start.
Definition SQuests.cs:32
Parameters
idID of a quest present in the scene