static int Create(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); byte[] objs0 = LuaScriptMgr.GetArrayNumber <byte>(L, 1); MsgUnPacker o = MsgUnPacker.Create(objs0); LuaScriptMgr.PushObject(L, o); return(1); }