public void LoadStatementData(Dsl.StatementData statementData) { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_LoadStatementData); LuaFunctionHelper.PushValue(Self); LuaFunctionHelper.PushValue(statementData); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); LuaFunctionHelper.EndGetResult(); } else { } }
public void SetProxy(StorySystem.StoryValueResult result) { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_SetProxy); LuaFunctionHelper.PushValue(Self); LuaFunctionHelper.PushValue(result); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); LuaFunctionHelper.EndGetResult(); } else { } }
public void Evaluate(StorySystem.StoryInstance instance, StorySystem.StoryMessageHandler handler, StorySystem.StoryValueParams _params) { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_Evaluate); LuaFunctionHelper.PushValue(Self); LuaFunctionHelper.PushValue(instance); LuaFunctionHelper.PushValue(handler); LuaFunctionHelper.PushValue(_params); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); LuaFunctionHelper.EndGetResult(); } else { } }
public bool IsCompositeCommand() { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_IsCompositeCommand); LuaFunctionHelper.PushValue(Self); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); bool __cs2lua_ret; LuaFunctionHelper.GetResult(out __cs2lua_ret); LuaFunctionHelper.EndGetResult(); return(__cs2lua_ret); } else { return(false); } }
public object Clone() { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_Clone); LuaFunctionHelper.PushValue(Self); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); object __cs2lua_ret; LuaFunctionHelper.GetResult(out __cs2lua_ret); LuaFunctionHelper.EndGetResult(); return(__cs2lua_ret); } else { return(null); } }
public bool LoadExpressions(GameFramework.AttrCalc.AttrExpressionList exps) { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_LoadExpressions); LuaFunctionHelper.PushValue(Self); LuaFunctionHelper.PushValue(exps); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); bool __cs2lua_ret; LuaFunctionHelper.GetResult(out __cs2lua_ret); LuaFunctionHelper.EndGetResult(); return(__cs2lua_ret); } else { return(false); } }
public bool LoadCallData(Dsl.FunctionData callData) { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_LoadCallData); LuaFunctionHelper.PushValue(Self); LuaFunctionHelper.PushValue(callData); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); bool __cs2lua_ret; LuaFunctionHelper.GetResult(out __cs2lua_ret); LuaFunctionHelper.EndGetResult(); return(__cs2lua_ret); } else { return(false); } }
public bool ExecCommand(StorySystem.StoryInstance instance, StorySystem.StoryMessageHandler handler, System.Int64 delta) { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_ExecCommand); LuaFunctionHelper.PushValue(Self); LuaFunctionHelper.PushValue(instance); LuaFunctionHelper.PushValue(handler); LuaFunctionHelper.PushValue(delta); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); bool __cs2lua_ret; LuaFunctionHelper.GetResult(out __cs2lua_ret); LuaFunctionHelper.EndGetResult(); return(__cs2lua_ret); } else { return(false); } }
public System.Int64 Calc(GameFramework.SceneContextInfo context, GameFramework.CharacterProperty source, GameFramework.CharacterProperty target, params System.Int64[] args) { var err = LuaFunctionHelper.BeginCall(m_Cs2Lua_Calc); LuaFunctionHelper.PushValue(Self); LuaFunctionHelper.PushValue(context); LuaFunctionHelper.PushValue(source); LuaFunctionHelper.PushValue(target); LuaFunctionHelper.PushParams(args); var end_call_res = LuaFunctionHelper.EndCall(err); if (end_call_res) { LuaFunctionHelper.BeginGetResult(err); System.Int64 __cs2lua_ret; LuaFunctionHelper.GetResult(out __cs2lua_ret); LuaFunctionHelper.EndGetResult(); return(__cs2lua_ret); } else { return((System.Int64) 0); } }