static int get_EntityInfo(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            MyLib.CGPlayerCmd obj = (MyLib.CGPlayerCmd)o;
            MyLib.EntityInfo  ret = obj.EntityInfo;
            ToLua.PushSealed(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index EntityInfo on a nil value"));
        }
    }
    static int set_EntityInfo(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            MyLib.CGPlayerCmd obj  = (MyLib.CGPlayerCmd)o;
            MyLib.EntityInfo  arg0 = (MyLib.EntityInfo)ToLua.CheckObject(L, 2, typeof(MyLib.EntityInfo));
            obj.EntityInfo = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index EntityInfo on a nil value"));
        }
    }