Пример #1
0
        public static pe_player_dynamics Create()
        {
            var dyn = new pe_player_dynamics();

            dyn.type = 4;

            dyn.kInertia = UnusedMarker.Float;
            dyn.kInertiaAccel = UnusedMarker.Float;
            dyn.kAirControl = UnusedMarker.Float;
            dyn.gravity = UnusedMarker.Vec3;
            dyn.nodSpeed = UnusedMarker.Float;
            dyn.mass = UnusedMarker.Float;
            dyn.bSwimming = UnusedMarker.Integer;
            dyn.surface_idx = UnusedMarker.Integer;
            dyn.bActive = UnusedMarker.Integer;
            dyn.collTypes = UnusedMarker.Integer;
            dyn.livingEntToIgnore = UnusedMarker.IntPtr;
            dyn.minSlideAngle = UnusedMarker.Float;
            dyn.maxClimbAngle = UnusedMarker.Float;
            dyn.maxJumpAngle = UnusedMarker.Float;
            dyn.minFallAngle = UnusedMarker.Float;
            dyn.kAirResistance = UnusedMarker.Float;
            dyn.bNetwork = UnusedMarker.Integer;
            dyn.maxVelGround = UnusedMarker.Float;
            dyn.timeImpulseRecover = UnusedMarker.Float;
            dyn.iRequestedTime = UnusedMarker.Integer;

            return dyn;
        }
Пример #2
0
        public static pe_player_dynamics Create()
        {
            var dyn = new pe_player_dynamics();

            dyn.type = 4;

            dyn.kInertia           = UnusedMarker.Float;
            dyn.kInertiaAccel      = UnusedMarker.Float;
            dyn.kAirControl        = UnusedMarker.Float;
            dyn.gravity            = UnusedMarker.Vec3;
            dyn.nodSpeed           = UnusedMarker.Float;
            dyn.mass               = UnusedMarker.Float;
            dyn.bSwimming          = UnusedMarker.Integer;
            dyn.surface_idx        = UnusedMarker.Integer;
            dyn.bActive            = UnusedMarker.Integer;
            dyn.collTypes          = UnusedMarker.Integer;
            dyn.livingEntToIgnore  = UnusedMarker.IntPtr;
            dyn.minSlideAngle      = UnusedMarker.Float;
            dyn.maxClimbAngle      = UnusedMarker.Float;
            dyn.maxJumpAngle       = UnusedMarker.Float;
            dyn.minFallAngle       = UnusedMarker.Float;
            dyn.kAirResistance     = UnusedMarker.Float;
            dyn.bNetwork           = UnusedMarker.Integer;
            dyn.maxVelGround       = UnusedMarker.Float;
            dyn.timeImpulseRecover = UnusedMarker.Float;
            dyn.iRequestedTime     = UnusedMarker.Integer;

            return(dyn);
        }