603 lines
25 KiB
Lua
Executable file
603 lines
25 KiB
Lua
Executable file
---@meta
|
|
-- AUTOMATICALLY GENERATED, DO NOT EDIT BY HAND
|
|
local _CVRSpecial = {}
|
|
|
|
--- @class _CVRSpecial.Avatar
|
|
--- FIXME: Wrapped ABI_RC.API.Avatar for Lua and WASM
|
|
--- @access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@field AvatarID System.String
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsHuman System.Boolean
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsLoaded System.Boolean
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Wearer ABI_RC.API.Player
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
_CVRSpecial.Avatar = {}
|
|
_CVRSpecial.Avatar.AvatarID = ""
|
|
_CVRSpecial.Avatar.IsHuman = true
|
|
_CVRSpecial.Avatar.IsLoaded = true
|
|
_CVRSpecial.Avatar.Wearer = nil
|
|
|
|
---@param humanBone UnityEngine.HumanBodyBones:
|
|
---@return System.Nullable<UnityEngine.Vector3>
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetBonePosition (humanBone) return nil end
|
|
|
|
---@param humanBone UnityEngine.HumanBodyBones:
|
|
---@return System.Nullable<System.ValueTuple<UnityEngine.Vector3, UnityEngine.Quaternion>>
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetBonePositionAndRotation (humanBone) return nil end
|
|
|
|
---@param humanBone UnityEngine.HumanBodyBones:
|
|
---@return System.Nullable<UnityEngine.Quaternion>
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetBoneRotation (humanBone) return nil end
|
|
|
|
---@return System.Single
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetHeight () return 0.0 end
|
|
|
|
---@return System.Single
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetInitialHeight () return 0.0 end
|
|
|
|
---@param parameterName System.String:
|
|
---@return System.Nullable<System.Boolean>
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetParameterAsBool (parameterName) return nil end
|
|
|
|
---@param parameterName System.String:
|
|
---@return System.Nullable<System.Single>
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetParameterAsFloat (parameterName) return nil end
|
|
|
|
---@param parameterName System.String:
|
|
---@return System.Nullable<System.Int32>
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetParameterAsInt (parameterName) return nil end
|
|
|
|
---@param humanBone UnityEngine.HumanBodyBones:
|
|
---@return System.Boolean
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.HasBone (humanBone) return true end
|
|
|
|
---@param parameterName System.String:
|
|
---@return System.Boolean
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.HasParameter (parameterName) return true end
|
|
|
|
---@param parameterName System.String:
|
|
---@param parameterValue System.Boolean:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.SetParameter (parameterName, parameterValue) return end
|
|
|
|
---@param parameterName System.String:
|
|
---@param parameterValue System.Int32:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.SetParameter (parameterName, parameterValue) return end
|
|
|
|
---@param parameterName System.String:
|
|
---@param parameterValue System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.SetParameter (parameterName, parameterValue) return end
|
|
|
|
---@param x ABI_RC.API.Avatar:
|
|
---@param y ABI_RC.API.Avatar:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.op_Equality (x, y) return true end -- static
|
|
|
|
---@param x ABI_RC.API.Avatar:
|
|
---@param y ABI_RC.API.Avatar:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.op_Inequality (x, y) return true end -- static
|
|
|
|
---@param obj System.Object:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.Equals (obj) return true end
|
|
|
|
---@return System.Int32
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.GetHashCode () return 0 end
|
|
|
|
---@return System.String
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Avatar.ToString () return "" end
|
|
|
|
--- @class _CVRSpecial.AvatarAPI
|
|
--- FIXME: Wrapped ABI_RC.API.AvatarAPI for Lua and WASM
|
|
--- @access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@field CurrentAvatar ABI_RC.API.Avatar
|
|
---@access_get AVATAR CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field LocalAvatar ABI_RC.API.Avatar
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
_CVRSpecial.AvatarAPI = {}
|
|
_CVRSpecial.AvatarAPI.CurrentAvatar = nil
|
|
_CVRSpecial.AvatarAPI.LocalAvatar = nil
|
|
|
|
---@param x ABI_RC.API.AvatarAPI:
|
|
---@param y ABI_RC.API.AvatarAPI:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.AvatarAPI.op_Equality (x, y) return true end -- static
|
|
|
|
---@param x ABI_RC.API.AvatarAPI:
|
|
---@param y ABI_RC.API.AvatarAPI:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.AvatarAPI.op_Inequality (x, y) return true end -- static
|
|
|
|
--- @class _CVRSpecial.InstancesAPI
|
|
--- FIXME: Wrapped ABI_RC.API.InstancesAPI for Lua and WASM
|
|
--- @access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@field InstanceID System.String
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field InstanceName System.String
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field InstancePrivacy System.String
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsConnected System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsHomeInstance System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Ping System.Int32
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
_CVRSpecial.InstancesAPI = {}
|
|
_CVRSpecial.InstancesAPI.InstanceID = ""
|
|
_CVRSpecial.InstancesAPI.InstanceName = ""
|
|
_CVRSpecial.InstancesAPI.InstancePrivacy = ""
|
|
_CVRSpecial.InstancesAPI.IsConnected = true
|
|
_CVRSpecial.InstancesAPI.IsHomeInstance = true
|
|
_CVRSpecial.InstancesAPI.Ping = 0
|
|
|
|
---@param x ABI_RC.API.InstancesAPI:
|
|
---@param y ABI_RC.API.InstancesAPI:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.InstancesAPI.op_Equality (x, y) return true end -- static
|
|
|
|
---@param x ABI_RC.API.InstancesAPI:
|
|
---@param y ABI_RC.API.InstancesAPI:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.InstancesAPI.op_Inequality (x, y) return true end -- static
|
|
|
|
--- @class _CVRSpecial.Player
|
|
--- FIXME: Wrapped ABI_RC.API.Player for Lua and WASM
|
|
--- @access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@field Avatar ABI_RC.API.Avatar
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Core ABI_RC.API.Player.CoreParameters
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IKLeftPalmToThumbAxis System.Nullable<UnityEngine.Vector3>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IKLeftWristToPalmAxis System.Nullable<UnityEngine.Vector3>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IKRightPalmToThumbAxis System.Nullable<UnityEngine.Vector3>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IKRightWristToPalmAxis System.Nullable<UnityEngine.Vector3>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field ImmersionDepth System.Nullable<System.Single>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsAuthenticated System.Nullable<System.Boolean>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsFlightAllowed System.Nullable<System.Boolean>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsFlying System.Nullable<System.Boolean>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsFlyingWithNoClip System.Nullable<System.Boolean>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsImmobilized System.Nullable<System.Boolean>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsLocal System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsNameplateActive System.Nullable<System.Boolean>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsRemote System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field IsUsingVR System.Nullable<System.Boolean>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field NameplatePosition System.Nullable<UnityEngine.Vector3>
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field UserID System.String
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Username System.String
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
_CVRSpecial.Player = {}
|
|
_CVRSpecial.Player.Avatar = nil
|
|
_CVRSpecial.Player.Core = nil
|
|
_CVRSpecial.Player.IKLeftPalmToThumbAxis = nil
|
|
_CVRSpecial.Player.IKLeftWristToPalmAxis = nil
|
|
_CVRSpecial.Player.IKRightPalmToThumbAxis = nil
|
|
_CVRSpecial.Player.IKRightWristToPalmAxis = nil
|
|
_CVRSpecial.Player.ImmersionDepth = nil
|
|
_CVRSpecial.Player.IsAuthenticated = nil
|
|
_CVRSpecial.Player.IsFlightAllowed = nil
|
|
_CVRSpecial.Player.IsFlying = nil
|
|
_CVRSpecial.Player.IsFlyingWithNoClip = nil
|
|
_CVRSpecial.Player.IsImmobilized = nil
|
|
_CVRSpecial.Player.IsLocal = true
|
|
_CVRSpecial.Player.IsNameplateActive = nil
|
|
_CVRSpecial.Player.IsRemote = true
|
|
_CVRSpecial.Player.IsUsingVR = nil
|
|
_CVRSpecial.Player.NameplatePosition = nil
|
|
_CVRSpecial.Player.UserID = ""
|
|
_CVRSpecial.Player.Username = ""
|
|
|
|
---@param force UnityEngine.Vector3:
|
|
---@param forceMode UnityEngine.ForceMode:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.AddForce (force, forceMode) return end
|
|
|
|
---@return System.Nullable<UnityEngine.Vector3>
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetControllerVelocity () return nil end
|
|
|
|
---@return UnityEngine.Vector3
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetForward () return nil end
|
|
|
|
---@return UnityEngine.Vector3
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetGravity () return nil end
|
|
|
|
---@return UnityEngine.Vector3
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetGravityDirection () return nil end
|
|
|
|
---@return System.Nullable<System.Single>
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetHeadingOffset () return nil end
|
|
|
|
---@return System.Nullable<UnityEngine.Vector3>
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetPlaySpaceOffset () return nil end
|
|
|
|
---@return System.Nullable<System.Single>
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetPlaySpaceScale () return nil end
|
|
|
|
---@return UnityEngine.Vector3
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetPosition () return nil end
|
|
|
|
---@return UnityEngine.Quaternion
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetRotation () return nil end
|
|
|
|
---@return UnityEngine.Vector3
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetViewPointPosition () return nil end
|
|
|
|
---@return UnityEngine.Quaternion
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetViewPointRotation () return nil end
|
|
|
|
---@return UnityEngine.Vector3
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetVoicePointPosition () return nil end
|
|
|
|
---@return UnityEngine.Quaternion
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetVoicePointRotation () return nil end
|
|
|
|
---@param launchVelocity UnityEngine.Vector3:
|
|
---@param overrideVerticalVelocity System.Boolean:
|
|
---@param overrideLateralVelocity System.Boolean:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.LaunchCharacter (launchVelocity, overrideVerticalVelocity, overrideLateralVelocity) return end
|
|
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.PauseGroundConstraint () return end
|
|
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.ResetAllForces () return end
|
|
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.Respawn () return end
|
|
|
|
---@param value System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetBodyControlHeadWeight (value) return end
|
|
|
|
---@param value System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetBodyControlLeftArmWeight (value) return end
|
|
|
|
---@param value System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetBodyControlLeftLegWeight (value) return end
|
|
|
|
---@param value System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetBodyControlLocomotionWeight (value) return end
|
|
|
|
---@param value System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetBodyControlPelvisWeight (value) return end
|
|
|
|
---@param value System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetBodyControlRightArmWeight (value) return end
|
|
|
|
---@param value System.Single:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetBodyControlRightLegWeight (value) return end
|
|
|
|
---@param velocity UnityEngine.Vector3:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetControllerVelocity (velocity) return end
|
|
|
|
---@param flightEnable System.Boolean:
|
|
---@param noClipEnabled System.Boolean:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetFlight (flightEnable, noClipEnabled) return end
|
|
|
|
---@param isImmobilized System.Boolean:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetImmobilized (isImmobilized) return end
|
|
|
|
---@param worldPosition UnityEngine.Vector3:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetPosition (worldPosition) return end
|
|
|
|
---@param worldRotation UnityEngine.Quaternion:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SetRotation (worldRotation) return end
|
|
|
|
---@param avatarId System.String:
|
|
---@return System.Nullable<System.Boolean>
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.SwitchAvatar (avatarId) return nil end
|
|
|
|
---@param targetPos UnityEngine.Vector3:
|
|
---@param interpolate System.Boolean:
|
|
---@param updateGround System.Boolean:
|
|
---@param preserveVelocity System.Boolean:
|
|
---@param rotationDifference System.Nullable<UnityEngine.Quaternion>:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.TeleportPlayerTo (targetPos, interpolate, updateGround, preserveVelocity, rotationDifference) return end
|
|
|
|
---@param targetPos UnityEngine.Vector3:
|
|
---@param targetEulerRot UnityEngine.Vector3:
|
|
---@param interpolate System.Boolean:
|
|
---@param updateGround System.Boolean:
|
|
---@param preserveVelocity System.Boolean:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.TeleportPlayerTo (targetPos, targetEulerRot, interpolate, updateGround, preserveVelocity) return end
|
|
|
|
---@param targetPos UnityEngine.Vector3:
|
|
---@param targetRot UnityEngine.Quaternion:
|
|
---@param interpolate System.Boolean:
|
|
---@param updateGround System.Boolean:
|
|
---@param preserveVelocity System.Boolean:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.TeleportPlayerTo (targetPos, targetRot, interpolate, updateGround, preserveVelocity) return end
|
|
|
|
---@param targetTransform UnityEngine.Transform:
|
|
---@param interpolate System.Boolean:
|
|
---@param updateGround System.Boolean:
|
|
---@param preserveVelocity System.Boolean:
|
|
---@return void
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL
|
|
function _CVRSpecial.Player.TeleportPlayerTo (targetTransform, interpolate, updateGround, preserveVelocity) return end
|
|
|
|
---@param x ABI_RC.API.Player:
|
|
---@param y ABI_RC.API.Player:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.op_Equality (x, y) return true end -- static
|
|
|
|
---@param x ABI_RC.API.Player:
|
|
---@param y ABI_RC.API.Player:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.op_Inequality (x, y) return true end -- static
|
|
|
|
---@param obj System.Object:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.Equals (obj) return true end
|
|
|
|
---@return System.Int32
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.GetHashCode () return 0 end
|
|
|
|
---@return System.String
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.Player.ToString () return "" end
|
|
|
|
--- @class _CVRSpecial.CoreParameters
|
|
--- FIXME: Wrapped ABI_RC.API.Player+CoreParameters for Lua and WASM
|
|
--- @access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@field CancelEmote System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Crouching System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field DistanceTo System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Emote System.Int32
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Flying System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field GestureLeft System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field GestureLeftIdx System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field GestureRight System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field GestureRightIdx System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Grounded System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field MovementX System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field MovementY System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Prone System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Sitting System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Swimming System.Boolean
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field Toggle System.Int32
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field VisemeIdx System.Int32
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field VisemeLoudness System.Single
|
|
---@access_get AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
_CVRSpecial.CoreParameters = {}
|
|
_CVRSpecial.CoreParameters.CancelEmote = true
|
|
_CVRSpecial.CoreParameters.Crouching = true
|
|
_CVRSpecial.CoreParameters.DistanceTo = 0.0
|
|
_CVRSpecial.CoreParameters.Emote = 0
|
|
_CVRSpecial.CoreParameters.Flying = true
|
|
_CVRSpecial.CoreParameters.GestureLeft = 0.0
|
|
_CVRSpecial.CoreParameters.GestureLeftIdx = 0.0
|
|
_CVRSpecial.CoreParameters.GestureRight = 0.0
|
|
_CVRSpecial.CoreParameters.GestureRightIdx = 0.0
|
|
_CVRSpecial.CoreParameters.Grounded = true
|
|
_CVRSpecial.CoreParameters.MovementX = 0.0
|
|
_CVRSpecial.CoreParameters.MovementY = 0.0
|
|
_CVRSpecial.CoreParameters.Prone = true
|
|
_CVRSpecial.CoreParameters.Sitting = true
|
|
_CVRSpecial.CoreParameters.Swimming = true
|
|
_CVRSpecial.CoreParameters.Toggle = 0
|
|
_CVRSpecial.CoreParameters.VisemeIdx = 0
|
|
_CVRSpecial.CoreParameters.VisemeLoudness = 0.0
|
|
|
|
---@param x ABI_RC.API.Player.CoreParameters:
|
|
---@param y ABI_RC.API.Player.CoreParameters:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.CoreParameters.op_Equality (x, y) return true end -- static
|
|
|
|
---@param x ABI_RC.API.Player.CoreParameters:
|
|
---@param y ABI_RC.API.Player.CoreParameters:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.CoreParameters.op_Inequality (x, y) return true end -- static
|
|
|
|
--- @class _CVRSpecial.PlayerAPI
|
|
--- FIXME: Wrapped ABI_RC.API.PlayerAPI for Lua and WASM
|
|
--- @access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@field AllPlayers System.Collections.Generic.List<ABI_RC.API.Player>
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field LocalPlayer ABI_RC.API.Player
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field PlayerCount System.Int32
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
---@field RemotePlayers System.Collections.Generic.List<ABI_RC.API.Player>
|
|
---@access_get AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
---@access_set NONE NONE NONE
|
|
_CVRSpecial.PlayerAPI = {}
|
|
_CVRSpecial.PlayerAPI.AllPlayers = []
|
|
_CVRSpecial.PlayerAPI.LocalPlayer = nil
|
|
_CVRSpecial.PlayerAPI.PlayerCount = 0
|
|
_CVRSpecial.PlayerAPI.RemotePlayers = []
|
|
|
|
---@param userId System.String:
|
|
---@return ABI_RC.API.Player
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.PlayerAPI.FindPlayerByUserId (userId) return nil end
|
|
|
|
---@param username System.String:
|
|
---@return ABI_RC.API.Player
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.PlayerAPI.FindPlayerByUsername (username) return nil end
|
|
|
|
---@param userId System.String:
|
|
---@return System.Boolean
|
|
---@access AVATAR|EVENT_WHITELIST|PROP|WORLD CLIENT LOCAL|OTHER
|
|
function _CVRSpecial.PlayerAPI.IsFriendsWith (userId) return true end
|
|
|
|
---@param x ABI_RC.API.PlayerAPI:
|
|
---@param y ABI_RC.API.PlayerAPI:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.PlayerAPI.op_Equality (x, y) return true end -- static
|
|
|
|
---@param x ABI_RC.API.PlayerAPI:
|
|
---@param y ABI_RC.API.PlayerAPI:
|
|
---@return System.Boolean
|
|
---@access AVATAR|PROP|WORLD CLIENT|SERVER LOCAL|OTHER
|
|
function _CVRSpecial.PlayerAPI.op_Inequality (x, y) return true end -- static
|
|
return _CVRSpecial
|