|
Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
|
| SQuests (SScript sScript) |
|
void | StartQuest (int id) |
| Forces the quest present in the scene, with ID specified to start More...
|
|
int | GetQuestStep (int questID) |
| Forces the quest present in the scene, with ID specified to start More...
|
|
void | ResetQuest (int id) |
| Forces the quest present in the scene, with ID specified to reset More...
|
|
void | SetQuestStep (int questID, int step) |
| Forces the quest present in the scene, with ID specified to start More...
|
|
void | CompleteQuest (int questID) |
| Forces the quest present in the scene, with ID specified to start More...
|
|
void | AbortQuest (int id) |
| Forces the quest present in the scene, with ID specified to start More...
|
|
void | AwardAchievement (int id) |
| Forces the quest present in the scene, with ID specified to start More...
|
|
bool | HasAchievement (int id) |
| Forces the quest present in the scene, with ID specified to start More...
|
|
◆ SQuests()
SineSpace.Scripting.Player.SQuests.SQuests |
( |
SScript |
sScript | ) |
|
◆ 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()
end
- Parameters
-
id | ID 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
- Parameters
-
id | ID 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()
end
- Parameters
-
questID | ID 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()
end
- Parameters
-
questID | ID 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
-
id | ID 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()
end
- Parameters
-
id | ID 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()
end
- Parameters
-
questID | ID of a quest present in the scene |
step | The 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()
end
- Parameters
-
id | ID of a quest present in the scene |
void CompleteQuest(int questID)
Forces the quest present in the scene, with ID specified to start
Definition: SQuests.cs:130
void ResetQuest(int id)
Forces the quest present in the scene, with ID specified to reset
Definition: SQuests.cs:79
void AbortQuest(int id)
Forces the quest present in the scene, with ID specified to start
Definition: SQuests.cs:157
void SetQuestStep(int questID, int step)
Forces the quest present in the scene, with ID specified to start
Definition: SQuests.cs:106
int GetQuestStep(int questID)
Forces the quest present in the scene, with ID specified to start
Definition: SQuests.cs:54
void AwardAchievement(int id)
Forces the quest present in the scene, with ID specified to start
Definition: SQuests.cs:179
void StartQuest(int id)
Forces the quest present in the scene, with ID specified to start
Definition: SQuests.cs:32