static int GetKStringVFloat(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); MsgUnPacker obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); Dictionary <string, float> o = obj.GetKStringVFloat(arg0); LuaScriptMgr.PushObject(L, o); return(1); }