mirror of
https://github.com/Anime-Game-Servers/Grasscutter-Quests.git
synced 2025-02-06 13:16:51 +00:00
[Scriptlib] Add some more placeholder Scriptlib fucntions
This commit is contained in:
parent
a9874cea74
commit
4d0e1014a1
@ -548,6 +548,12 @@ public class ScriptLib {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int SetGroupLogicStateValue(String sgvName, int value){
|
||||
logger.warn("[LUA] Call unimplemented SetGroupLogicStateValue with {} {}", sgvName, value);
|
||||
//TODO implement
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int GetGroupVariableValueByGroup(String name, int groupId){
|
||||
logger.debug("[LUA] Call GetGroupVariableValueByGroup with {},{}",
|
||||
name,groupId);
|
||||
@ -591,6 +597,7 @@ public class ScriptLib {
|
||||
key,value,groupId);
|
||||
|
||||
getSceneScriptManager().getVariables(groupId).put(key, value);
|
||||
// TODO should this maybe trigger a variable changed?
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -981,6 +988,18 @@ public class ScriptLib {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int AddTeamServerGlobalValue(int ownerId, String sgvName, int value){
|
||||
logger.warn("[LUA] Call unimplemented AddTeamServerGlobalValue with {} {} {}", ownerId, sgvName, value);
|
||||
//TODO implement
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int GetTeamServerGlobalValue(int ownerId, String sgvName, int value){
|
||||
logger.warn("[LUA] Call unimplemented GetTeamServerGlobalValue with {} {} {}", ownerId, sgvName, value);
|
||||
//TODO implement
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int GetLanternRiteValue(){
|
||||
logger.warn("[LUA] Call unimplemented GetLanternRiteValue");
|
||||
//TODO implement
|
||||
|
Loading…
x
Reference in New Issue
Block a user