示例#1
0
        public static pe_player_dimensions Create()
        {
            var dim = new pe_player_dimensions();

            dim.type = 1;

            dim.dirUnproj = new Vec3(0, 0, 1);

            dim.sizeCollider = UnusedMarker.Vec3;
            dim.heightPivot = UnusedMarker.Float;
            dim.heightCollider = UnusedMarker.Float;
            dim.heightEye = UnusedMarker.Float;
            dim.heightHead = UnusedMarker.Float;
            dim.headRadius = UnusedMarker.Float;
            dim.bUseCapsule = UnusedMarker.Integer;

            return dim;
        }
示例#2
0
        public static pe_player_dimensions Create()
        {
            var dim = new pe_player_dimensions();

            dim.type = 1;

            dim.dirUnproj = new Vec3(0, 0, 1);

            dim.sizeCollider   = UnusedMarker.Vec3;
            dim.heightPivot    = UnusedMarker.Float;
            dim.heightCollider = UnusedMarker.Float;
            dim.heightEye      = UnusedMarker.Float;
            dim.heightHead     = UnusedMarker.Float;
            dim.headRadius     = UnusedMarker.Float;
            dim.bUseCapsule    = UnusedMarker.Integer;

            return(dim);
        }