public StoryValueResult Clone()
        {
            StoryValueResult val = new StoryValueResult();

            val.m_HaveValue = m_HaveValue;
            val.m_Value     = m_Value;
            return(val);
        }
예제 #2
0
 static public int get_Value(IntPtr l)
 {
     try {
         StorySystem.StoryValueResult self = (StorySystem.StoryValueResult)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.Value);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #3
0
 static public int constructor(IntPtr l)
 {
     try {
         StorySystem.StoryValueResult o;
         o = new StorySystem.StoryValueResult();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #4
0
 static public int set_Value(IntPtr l)
 {
     try {
         StorySystem.StoryValueResult self = (StorySystem.StoryValueResult)checkSelf(l);
         System.Object v;
         checkType(l, 2, out v);
         self.Value = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
    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
        {
        }
    }
 protected abstract void UpdateValue(StoryInstance instance, ValueParamType _params, StoryValueResult result);