use super::{Argument, ArgumentTag, Operation, ReturnKind, SemanticClass, StreamRole, TailKind};
pub(super) const CONTRACT_BLAKE3: &str = "0b17edca6df8d03b6bfa4d4ebf3cb6a30ccf547b9ea1d389b8dd468e1a921a24";
pub(super) const UPSTREAM_SHA: &str = "56edae79f2949d86142b03450d5d60f63bcf5a6f";
pub(super) const EFFECTIVE_SOURCE_SHA256: &str = "f6cf3bb1ca240888879a5c26ad468f98e98d5275018717505b2b0becfacd7497";
pub(super) const PROGRAM_TAKE: u8 = 1;
pub(super) const PROGRAM_BOOL: u8 = 2;
pub(super) const PROGRAM_PRECISION: u8 = 3;
pub(super) const PROGRAM_STRING: u8 = 4;
pub(super) const PROGRAM_NATIVE_POD: u8 = 5;
pub(super) const PROGRAM_COUNTED: u8 = 6;
pub(super) const NATIVE_POD_CIRCLE: u8 = 1;
pub(super) const NATIVE_POD_CAPSULE: u8 = 2;
pub(super) const NATIVE_POD_SEGMENT: u8 = 3;
pub(super) const NATIVE_POD_POLYGON: u8 = 4;
pub(super) const NATIVE_POD_CHAIN_SEGMENT: u8 = 5;
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub(super) enum OperationRule {
DestroyWorld,
WorldEnableSleeping,
WorldEnableContinuous,
WorldSetRestitutionThreshold,
WorldSetHitEventThreshold,
WorldSetGravity,
WorldExplode,
WorldSetContactTuning,
WorldSetContactRecycleDistance,
WorldSetMaximumLinearSpeed,
WorldEnableWarmStarting,
WorldRebuildStaticTree,
WorldEnableSpeculative,
CreateBody,
DestroyBody,
BodySetTransform,
BodySetLinearVelocity,
BodySetType,
BodySetName,
BodySetAngularVelocity,
BodySetTargetTransform,
BodyApplyForce,
BodyApplyForceToCenter,
BodyApplyTorque,
BodyClearForces,
BodyApplyLinearImpulse,
BodyApplyLinearImpulseToCenter,
BodyApplyAngularImpulse,
BodySetMassData,
BodyApplyMassFromShapes,
BodySetLinearDamping,
BodySetAngularDamping,
BodySetGravityScale,
BodySetAwake,
BodyWakeTouching,
BodyEnableSleep,
BodySetSleepThreshold,
BodyDisable,
BodyEnable,
BodySetMotionLocks,
BodySetBullet,
BodyEnableContactRecycling,
BodyEnableContactEvents,
BodyEnableHitEvents,
CreateCircleShape,
CreateCapsuleShape,
CreateSegmentShape,
CreatePolygonShape,
CreateChainSegmentShape,
DestroyShape,
ShapeSetDensity,
ShapeSetFriction,
ShapeSetRestitution,
ShapeSetUserMaterial,
ShapeSetSurfaceMaterial,
ShapeSetFilter,
ShapeEnableSensorEvents,
ShapeEnableContactEvents,
ShapeEnablePreSolveEvents,
ShapeEnableHitEvents,
ShapeSetCircle,
ShapeSetCapsule,
ShapeSetSegment,
ShapeSetPolygon,
ShapeSetChainSegment,
ShapeApplyWind,
CreateChain,
DestroyChain,
ChainSetSurfaceMaterial,
Step,
CreateDistanceJoint,
CreateMotorJoint,
CreateFilterJoint,
CreatePrismaticJoint,
CreateRevoluteJoint,
CreateWeldJoint,
CreateWheelJoint,
DestroyJoint,
JointSetLocalFrameA,
JointSetLocalFrameB,
JointSetCollideConnected,
JointWakeBodies,
JointSetConstraintTuning,
JointSetForceThreshold,
JointSetTorqueThreshold,
DistanceJointSetLength,
DistanceJointEnableSpring,
DistanceJointSetSpringForceRange,
DistanceJointSetSpringHertz,
DistanceJointSetSpringDampingRatio,
DistanceJointEnableLimit,
DistanceJointSetLengthRange,
DistanceJointEnableMotor,
DistanceJointSetMotorSpeed,
DistanceJointSetMaxMotorForce,
MotorJointSetLinearVelocity,
MotorJointSetAngularVelocity,
MotorJointSetMaxVelocityForce,
MotorJointSetMaxVelocityTorque,
MotorJointSetLinearHertz,
MotorJointSetLinearDampingRatio,
MotorJointSetAngularHertz,
MotorJointSetAngularDampingRatio,
MotorJointSetMaxSpringForce,
MotorJointSetMaxSpringTorque,
PrismaticJointEnableSpring,
PrismaticJointSetSpringHertz,
PrismaticJointSetSpringDampingRatio,
PrismaticJointSetTargetTranslation,
PrismaticJointEnableLimit,
PrismaticJointSetLimits,
PrismaticJointEnableMotor,
PrismaticJointSetMotorSpeed,
PrismaticJointSetMaxMotorForce,
RevoluteJointEnableSpring,
RevoluteJointSetSpringHertz,
RevoluteJointSetSpringDampingRatio,
RevoluteJointSetTargetAngle,
RevoluteJointEnableLimit,
RevoluteJointSetLimits,
RevoluteJointEnableMotor,
RevoluteJointSetMotorSpeed,
RevoluteJointSetMaxMotorTorque,
WeldJointSetLinearHertz,
WeldJointSetLinearDampingRatio,
WeldJointSetAngularHertz,
WeldJointSetAngularDampingRatio,
WheelJointEnableSpring,
WheelJointSetSpringHertz,
WheelJointSetSpringDampingRatio,
WheelJointEnableLimit,
WheelJointSetLimits,
WheelJointEnableMotor,
WheelJointSetMotorSpeed,
WheelJointSetMaxMotorTorque,
QueryOverlapAABB,
QueryOverlapShape,
QueryCastRay,
QueryCastShape,
QueryCollideMover,
QueryCastRayClosest,
QueryCastMover,
ShapeTestPoint,
ShapeRayCast,
StateHash,
RecordingBounds,
}
pub(super) static OPERATIONS: &[Operation] = &[
Operation { opcode: 0x01, name: "DestroyWorld", semantic: SemanticClass::Terminal, role: StreamRole::Terminal, rule: OperationRule::DestroyWorld, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x02, name: "WorldEnableSleeping", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldEnableSleeping, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x03, name: "WorldEnableContinuous", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldEnableContinuous, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x04, name: "WorldSetRestitutionThreshold", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldSetRestitutionThreshold, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x05, name: "WorldSetHitEventThreshold", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldSetHitEventThreshold, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x06, name: "WorldSetGravity", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldSetGravity, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x07, name: "WorldExplode", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldExplode, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::ExplosionDef, program_end: 34 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00,
] },
Operation { opcode: 0x08, name: "WorldSetContactTuning", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldSetContactTuning, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
Argument { tag: ArgumentTag::F32, program_end: 20 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01,
0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x09, name: "WorldSetContactRecycleDistance", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldSetContactRecycleDistance, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x0A, name: "WorldSetMaximumLinearSpeed", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldSetMaximumLinearSpeed, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x0B, name: "WorldEnableWarmStarting", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldEnableWarmStarting, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x0C, name: "WorldRebuildStaticTree", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldRebuildStaticTree, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x0D, name: "WorldEnableSpeculative", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WorldEnableSpeculative, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x10, name: "CreateBody", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateBody, return_kind: ReturnKind::Body, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::BodyDef, program_end: 75 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10,
0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00,
0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x04, 0xFF, 0xFF, 0xFE, 0xFF, 0x00, 0x00, 0x01, 0x08, 0x00,
0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x11, name: "DestroyBody", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DestroyBody, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x20, name: "BodySetTransform", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetTransform, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::Rot, program_end: 19 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00,
] },
Operation { opcode: 0x21, name: "BodySetLinearVelocity", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetLinearVelocity, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x22, name: "BodySetType", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetType, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::I32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x23, name: "BodySetName", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetName, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Str, program_end: 12 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x04, 0xFF, 0xFF, 0xFE, 0xFF, 0x00, 0x00,
] },
Operation { opcode: 0x24, name: "BodySetAngularVelocity", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetAngularVelocity, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x25, name: "BodySetTargetTransform", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetTargetTransform, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::WorldTransform, program_end: 19 },
Argument { tag: ArgumentTag::F32, program_end: 24 },
Argument { tag: ArgumentTag::Bool, program_end: 25 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x26, name: "BodyApplyForce", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyApplyForce, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
Argument { tag: ArgumentTag::Position, program_end: 19 },
Argument { tag: ArgumentTag::Bool, program_end: 20 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10,
0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x27, name: "BodyApplyForceToCenter", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyApplyForceToCenter, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
Argument { tag: ArgumentTag::Bool, program_end: 11 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x28, name: "BodyApplyTorque", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyApplyTorque, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::Bool, program_end: 11 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x29, name: "BodyClearForces", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyClearForces, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x2A, name: "BodyApplyLinearImpulse", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyApplyLinearImpulse, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
Argument { tag: ArgumentTag::Position, program_end: 19 },
Argument { tag: ArgumentTag::Bool, program_end: 20 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10,
0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x2B, name: "BodyApplyLinearImpulseToCenter", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyApplyLinearImpulseToCenter, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
Argument { tag: ArgumentTag::Bool, program_end: 11 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x2C, name: "BodyApplyAngularImpulse", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyApplyAngularImpulse, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::Bool, program_end: 11 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x2D, name: "BodySetMassData", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetMassData, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::MassData, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x2E, name: "BodyApplyMassFromShapes", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyApplyMassFromShapes, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x2F, name: "BodySetLinearDamping", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetLinearDamping, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x30, name: "BodySetAngularDamping", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetAngularDamping, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x31, name: "BodySetGravityScale", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetGravityScale, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x32, name: "BodySetAwake", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetAwake, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x33, name: "BodyWakeTouching", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyWakeTouching, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x34, name: "BodyEnableSleep", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyEnableSleep, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x35, name: "BodySetSleepThreshold", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetSleepThreshold, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x36, name: "BodyDisable", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyDisable, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x37, name: "BodyEnable", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyEnable, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x38, name: "BodySetMotionLocks", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetMotionLocks, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Locks, program_end: 8 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02,
] },
Operation { opcode: 0x39, name: "BodySetBullet", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodySetBullet, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x3A, name: "BodyEnableContactRecycling", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyEnableContactRecycling, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x3B, name: "BodyEnableContactEvents", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyEnableContactEvents, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x3C, name: "BodyEnableHitEvents", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::BodyEnableHitEvents, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x40, name: "CreateCircleShape", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateCircleShape, return_kind: ReturnKind::Shape, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::ShapeDef, program_end: 33 },
Argument { tag: ArgumentTag::Circle, program_end: 35 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00, 0x01,
0x04, 0x00, 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
0x02, 0x05, 0x01, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x41, name: "CreateCapsuleShape", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateCapsuleShape, return_kind: ReturnKind::Shape, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::ShapeDef, program_end: 33 },
Argument { tag: ArgumentTag::Capsule, program_end: 35 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00, 0x01,
0x04, 0x00, 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
0x02, 0x05, 0x02, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x42, name: "CreateSegmentShape", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateSegmentShape, return_kind: ReturnKind::Shape, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::ShapeDef, program_end: 33 },
Argument { tag: ArgumentTag::Segment, program_end: 35 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00, 0x01,
0x04, 0x00, 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
0x02, 0x05, 0x03, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x43, name: "CreatePolygonShape", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreatePolygonShape, return_kind: ReturnKind::Shape, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::ShapeDef, program_end: 33 },
Argument { tag: ArgumentTag::Polygon, program_end: 35 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00, 0x01,
0x04, 0x00, 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
0x02, 0x05, 0x04, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x44, name: "CreateChainSegmentShape", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateChainSegmentShape, return_kind: ReturnKind::Shape, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::ShapeDef, program_end: 33 },
Argument { tag: ArgumentTag::ChainSegment, program_end: 35 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00, 0x01,
0x04, 0x00, 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
0x02, 0x05, 0x05, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x45, name: "DestroyShape", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DestroyShape, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x50, name: "ShapeSetDensity", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetDensity, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::Bool, program_end: 11 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x51, name: "ShapeSetFriction", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetFriction, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x52, name: "ShapeSetRestitution", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetRestitution, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x53, name: "ShapeSetUserMaterial", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetUserMaterial, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::U64, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x54, name: "ShapeSetSurfaceMaterial", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetSurfaceMaterial, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Material, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x55, name: "ShapeSetFilter", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetFilter, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Filter, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x56, name: "ShapeEnableSensorEvents", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeEnableSensorEvents, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x57, name: "ShapeEnableContactEvents", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeEnableContactEvents, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x58, name: "ShapeEnablePreSolveEvents", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeEnablePreSolveEvents, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x59, name: "ShapeEnableHitEvents", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeEnableHitEvents, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x5A, name: "ShapeSetCircle", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetCircle, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Circle, program_end: 7 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x05, 0x01,
] },
Operation { opcode: 0x5B, name: "ShapeSetCapsule", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetCapsule, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Capsule, program_end: 7 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x05, 0x02,
] },
Operation { opcode: 0x5C, name: "ShapeSetSegment", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetSegment, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Segment, program_end: 7 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x05, 0x03,
] },
Operation { opcode: 0x5D, name: "ShapeSetPolygon", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetPolygon, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Polygon, program_end: 7 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x05, 0x04,
] },
Operation { opcode: 0x5E, name: "ShapeSetChainSegment", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeSetChainSegment, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::ChainSegment, program_end: 7 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x05, 0x05,
] },
Operation { opcode: 0x5F, name: "ShapeApplyWind", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ShapeApplyWind, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
Argument { tag: ArgumentTag::F32, program_end: 20 },
Argument { tag: ArgumentTag::Bool, program_end: 21 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01,
0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x70, name: "CreateChain", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateChain, return_kind: ReturnKind::Chain, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::BodyId, program_end: 5 },
Argument { tag: ArgumentTag::ChainDef, program_end: 47 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x06, 0x01, 0x40, 0x42, 0x0F, 0x00,
0x05, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x06, 0x01, 0x40, 0x42, 0x0F, 0x00, 0x05,
0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x02, 0x02, 0x01,
0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x71, name: "DestroyChain", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DestroyChain, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ChainId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x72, name: "ChainSetSurfaceMaterial", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::ChainSetSurfaceMaterial, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::ChainId, program_end: 5 },
Argument { tag: ArgumentTag::Material, program_end: 10 },
Argument { tag: ArgumentTag::I32, program_end: 15 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x1C, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x80, name: "Step", semantic: SemanticClass::Step, role: StreamRole::Ordinary, rule: OperationRule::Step, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::I32, program_end: 15 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x90, name: "CreateDistanceJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateDistanceJoint, return_kind: ReturnKind::Joint, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::DistanceJointDef, program_end: 104 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x91, name: "CreateMotorJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateMotorJoint, return_kind: ReturnKind::Joint, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::MotorJointDef, program_end: 106 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00,
0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x92, name: "CreateFilterJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateFilterJoint, return_kind: ReturnKind::Joint, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::FilterJointDef, program_end: 56 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x93, name: "CreatePrismaticJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreatePrismaticJoint, return_kind: ReturnKind::Joint, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::PrismaticJointDef, program_end: 94 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00,
] },
Operation { opcode: 0x94, name: "CreateRevoluteJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateRevoluteJoint, return_kind: ReturnKind::Joint, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::RevoluteJointDef, program_end: 94 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00,
] },
Operation { opcode: 0x95, name: "CreateWeldJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateWeldJoint, return_kind: ReturnKind::Joint, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::WeldJointDef, program_end: 76 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00,
0x00,
] },
Operation { opcode: 0x96, name: "CreateWheelJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::CreateWheelJoint, return_kind: ReturnKind::Joint, tail: TailKind::ReturnedId, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::WheelJointDef, program_end: 89 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02, 0x01,
0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x97, name: "DestroyJoint", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DestroyJoint, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x98, name: "JointSetLocalFrameA", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::JointSetLocalFrameA, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Transform, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x99, name: "JointSetLocalFrameB", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::JointSetLocalFrameB, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Transform, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x9A, name: "JointSetCollideConnected", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::JointSetCollideConnected, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0x9B, name: "JointWakeBodies", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::JointWakeBodies, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x9C, name: "JointSetConstraintTuning", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::JointSetConstraintTuning, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x9D, name: "JointSetForceThreshold", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::JointSetForceThreshold, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0x9E, name: "JointSetTorqueThreshold", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::JointSetTorqueThreshold, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xA0, name: "DistanceJointSetLength", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointSetLength, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xA1, name: "DistanceJointEnableSpring", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointEnableSpring, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xA2, name: "DistanceJointSetSpringForceRange", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointSetSpringForceRange, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xA3, name: "DistanceJointSetSpringHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointSetSpringHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xA4, name: "DistanceJointSetSpringDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointSetSpringDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xA5, name: "DistanceJointEnableLimit", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointEnableLimit, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xA6, name: "DistanceJointSetLengthRange", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointSetLengthRange, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xA7, name: "DistanceJointEnableMotor", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointEnableMotor, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xA8, name: "DistanceJointSetMotorSpeed", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointSetMotorSpeed, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xA9, name: "DistanceJointSetMaxMotorForce", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::DistanceJointSetMaxMotorForce, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xAA, name: "MotorJointSetLinearVelocity", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetLinearVelocity, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Vec2, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xAB, name: "MotorJointSetAngularVelocity", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetAngularVelocity, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xAC, name: "MotorJointSetMaxVelocityForce", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetMaxVelocityForce, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xAD, name: "MotorJointSetMaxVelocityTorque", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetMaxVelocityTorque, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xAE, name: "MotorJointSetLinearHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetLinearHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xAF, name: "MotorJointSetLinearDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetLinearDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB0, name: "MotorJointSetAngularHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetAngularHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB1, name: "MotorJointSetAngularDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetAngularDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB2, name: "MotorJointSetMaxSpringForce", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetMaxSpringForce, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB3, name: "MotorJointSetMaxSpringTorque", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::MotorJointSetMaxSpringTorque, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB4, name: "PrismaticJointEnableSpring", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointEnableSpring, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xB5, name: "PrismaticJointSetSpringHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointSetSpringHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB6, name: "PrismaticJointSetSpringDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointSetSpringDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB7, name: "PrismaticJointSetTargetTranslation", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointSetTargetTranslation, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xB8, name: "PrismaticJointEnableLimit", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointEnableLimit, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xB9, name: "PrismaticJointSetLimits", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointSetLimits, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xBA, name: "PrismaticJointEnableMotor", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointEnableMotor, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xBB, name: "PrismaticJointSetMotorSpeed", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointSetMotorSpeed, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xBC, name: "PrismaticJointSetMaxMotorForce", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::PrismaticJointSetMaxMotorForce, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xBD, name: "RevoluteJointEnableSpring", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointEnableSpring, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xBE, name: "RevoluteJointSetSpringHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointSetSpringHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xBF, name: "RevoluteJointSetSpringDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointSetSpringDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC0, name: "RevoluteJointSetTargetAngle", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointSetTargetAngle, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC1, name: "RevoluteJointEnableLimit", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointEnableLimit, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xC2, name: "RevoluteJointSetLimits", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointSetLimits, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC3, name: "RevoluteJointEnableMotor", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointEnableMotor, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xC4, name: "RevoluteJointSetMotorSpeed", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointSetMotorSpeed, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC5, name: "RevoluteJointSetMaxMotorTorque", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::RevoluteJointSetMaxMotorTorque, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC6, name: "WeldJointSetLinearHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WeldJointSetLinearHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC7, name: "WeldJointSetLinearDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WeldJointSetLinearDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC8, name: "WeldJointSetAngularHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WeldJointSetAngularHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xC9, name: "WeldJointSetAngularDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WeldJointSetAngularDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xCA, name: "WheelJointEnableSpring", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointEnableSpring, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xCB, name: "WheelJointSetSpringHertz", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointSetSpringHertz, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xCC, name: "WheelJointSetSpringDampingRatio", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointSetSpringDampingRatio, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xCD, name: "WheelJointEnableLimit", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointEnableLimit, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xCE, name: "WheelJointSetLimits", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointSetLimits, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
Argument { tag: ArgumentTag::F32, program_end: 15 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xCF, name: "WheelJointEnableMotor", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointEnableMotor, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::Bool, program_end: 6 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xD0, name: "WheelJointSetMotorSpeed", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointSetMotorSpeed, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xD1, name: "WheelJointSetMaxMotorTorque", semantic: SemanticClass::Mutation, role: StreamRole::Ordinary, rule: OperationRule::WheelJointSetMaxMotorTorque, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::JointId, program_end: 5 },
Argument { tag: ArgumentTag::F32, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xE0, name: "QueryOverlapAABB", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::QueryOverlapAABB, return_kind: ReturnKind::None, tail: TailKind::OverlapHits, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::Aabb, program_end: 24 },
Argument { tag: ArgumentTag::QueryFilter, program_end: 29 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x40,
0x42, 0x0F, 0x00, 0x06, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x02, 0x01, 0x08, 0x00,
0x00, 0x00,
] },
Operation { opcode: 0xE1, name: "QueryOverlapShape", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::QueryOverlapShape, return_kind: ReturnKind::None, tail: TailKind::OverlapHits, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::ShapeProxy, program_end: 34 },
Argument { tag: ArgumentTag::QueryFilter, program_end: 39 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x06, 0x01,
0x08, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x40, 0x42, 0x0F, 0x00, 0x06, 0x00, 0x00,
0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x02, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xE2, name: "QueryCastRay", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::QueryCastRay, return_kind: ReturnKind::None, tail: TailKind::CastHits, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::Vec2, program_end: 19 },
Argument { tag: ArgumentTag::QueryFilter, program_end: 24 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x40, 0x42, 0x0F, 0x00, 0x1D, 0x00,
0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xE3, name: "QueryCastShape", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::QueryCastShape, return_kind: ReturnKind::None, tail: TailKind::CastHits, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::ShapeProxy, program_end: 34 },
Argument { tag: ArgumentTag::Vec2, program_end: 39 },
Argument { tag: ArgumentTag::QueryFilter, program_end: 44 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x06, 0x01,
0x08, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00,
0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x40, 0x42,
0x0F, 0x00, 0x1D, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00,
0x10, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04,
0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xE4, name: "QueryCollideMover", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::QueryCollideMover, return_kind: ReturnKind::None, tail: TailKind::PlaneHits, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::Capsule, program_end: 16 },
Argument { tag: ArgumentTag::QueryFilter, program_end: 21 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x05, 0x02,
0x01, 0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x40, 0x42, 0x0F, 0x00, 0x16, 0x00, 0x00, 0x00, 0x01,
0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00, 0x02, 0x02,
] },
Operation { opcode: 0xE5, name: "QueryCastRayClosest", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::QueryCastRayClosest, return_kind: ReturnKind::None, tail: TailKind::ClosestRayResult, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::Vec2, program_end: 19 },
Argument { tag: ArgumentTag::QueryFilter, program_end: 24 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00,
0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xE6, name: "QueryCastMover", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::QueryCastMover, return_kind: ReturnKind::None, tail: TailKind::MoverResult, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::Capsule, program_end: 16 },
Argument { tag: ArgumentTag::Vec2, program_end: 21 },
Argument { tag: ArgumentTag::QueryFilter, program_end: 26 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x05, 0x02,
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xE7, name: "ShapeTestPoint", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::ShapeTestPoint, return_kind: ReturnKind::None, tail: TailKind::BoolResult, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xE8, name: "ShapeRayCast", semantic: SemanticClass::Query, role: StreamRole::Ordinary, rule: OperationRule::ShapeRayCast, return_kind: ReturnKind::None, tail: TailKind::ShapeCastResult, arguments: &[
Argument { tag: ArgumentTag::ShapeId, program_end: 5 },
Argument { tag: ArgumentTag::Position, program_end: 14 },
Argument { tag: ArgumentTag::Vec2, program_end: 19 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x08,
0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x02,
] },
Operation { opcode: 0xF1, name: "StateHash", semantic: SemanticClass::StateHash, role: StreamRole::Initial, rule: OperationRule::StateHash, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::WorldId, program_end: 5 },
Argument { tag: ArgumentTag::U64, program_end: 10 },
], program: &[
0x01, 0x04, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
Operation { opcode: 0xF2, name: "RecordingBounds", semantic: SemanticClass::Metadata, role: StreamRole::FinalMetadata, rule: OperationRule::RecordingBounds, return_kind: ReturnKind::None, tail: TailKind::None, arguments: &[
Argument { tag: ArgumentTag::Aabb, program_end: 10 },
], program: &[
0x01, 0x08, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00,
] },
];