[Scriptlib] Add some more placeholder Scriptlib fucntions

This commit is contained in:
hartie95 2023-06-24 16:45:21 +02:00
parent a9874cea74
commit 4d0e1014a1

View File

@ -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