Ejemplo n.º 1
0
    static int IntToEnum(IntPtr L)
    {
        int arg0 = (int)LuaDLL.lua_tonumber(L, 1);

        fogs.proto.msg.FriendOperationType o = (fogs.proto.msg.FriendOperationType)arg0;
        LuaScriptMgr.Push(L, o);
        return(1);
    }
Ejemplo n.º 2
0
    static int ListChanged(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        FriendData obj = (FriendData)LuaScriptMgr.GetNetObjectSelf(L, 1, "FriendData");

        fogs.proto.msg.FriendOperationType arg0 = (fogs.proto.msg.FriendOperationType)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.FriendOperationType));
        obj.ListChanged(arg0);
        return(0);
    }
Ejemplo n.º 3
0
    static int GetList(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        FriendData obj = (FriendData)LuaScriptMgr.GetNetObjectSelf(L, 1, "FriendData");

        fogs.proto.msg.FriendOperationType arg0 = (fogs.proto.msg.FriendOperationType)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.FriendOperationType));
        LuaInterface.LuaTable o = obj.GetList(arg0);
        LuaScriptMgr.Push(L, o);
        return(1);
    }