static int MD5(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(Game.Utils), typeof(byte[]))) { Game.Utils obj = (Game.Utils)ToLua.ToObject(L, 1); byte[] arg0 = ToLua.CheckByteBuffer(L, 2); string o = obj.MD5(arg0); LuaDLL.lua_pushstring(L, o); return(1); } else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(Game.Utils), typeof(string))) { Game.Utils obj = (Game.Utils)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); string o = obj.MD5(arg0); LuaDLL.lua_pushstring(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: Game.Utils.MD5")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }