// Token: 0x06000AC9 RID: 2761 RVA: 0x00021698 File Offset: 0x0001F898 protected override void OnUpdate() { base.OnUpdate(); this.IsDragging = (this.GetDevice(global::VRGIN.Core.VR.Mode.Left).GetPress(global::Valve.VR.EVRButtonId.k_EButton_Axis1) && this.GetDevice(global::VRGIN.Core.VR.Mode.Right).GetPress(global::Valve.VR.EVRButtonId.k_EButton_Axis1)); bool isDragging = this.IsDragging; if (isDragging) { bool flag = this._StartScale == null; if (flag) { this.Initialize(); } global::UnityEngine.Vector3 position = global::VRGIN.Core.VR.Mode.Left.transform.position; global::UnityEngine.Vector3 position2 = global::VRGIN.Core.VR.Mode.Right.transform.position; float num = global::UnityEngine.Vector3.Distance(position, position2); float num2 = global::UnityEngine.Vector3.Distance(this._StartLeft.Value, this._StartRight.Value); global::UnityEngine.Vector3 vector = position2 - position; global::UnityEngine.Vector3 vector2 = position + vector * 0.5f; global::UnityEngine.Quaternion quaternion = global::UnityEngine.Quaternion.Inverse(global::VRGIN.Core.VR.Camera.SteamCam.origin.rotation); global::UnityEngine.Quaternion averageRotation = this.GetAverageRotation(); global::UnityEngine.Quaternion quaternion2 = quaternion * averageRotation * global::UnityEngine.Quaternion.Inverse(quaternion * this._StartRotationController); this._Gui.transform.localScale = num / num2 * this._StartScale.Value; this._Gui.transform.localRotation = quaternion2 * this._StartRotation.Value; this._Gui.transform.position = vector2 + averageRotation * global::UnityEngine.Quaternion.Inverse(this._StartRotationController) * this._OffsetFromCenter.Value; } else { this._StartScale = default(global::UnityEngine.Vector3?); } }
// Token: 0x06000540 RID: 1344 RVA: 0x0001A7EC File Offset: 0x000189EC public static global::UnityEngine.Vector3 GetForwardVector(global::UnityEngine.Quaternion rotation) { global::UnityEngine.Vector3 vector = rotation * global::UnityEngine.Vector3.forward; global::UnityEngine.Vector3 vector2 = vector.WithY(0f); bool flag = (double)vector2.magnitude < 0.3; global::UnityEngine.Vector3 result; if (flag) { bool flag2 = vector.y > 0f; if (flag2) { result = (rotation * global::UnityEngine.Vector3.down).WithY(0f).normalized; } else { result = (rotation * global::UnityEngine.Vector3.up).WithY(0f).normalized; } } else { bool flag3 = global::UnityEngine.Vector3.Dot(global::UnityEngine.Vector3.up, rotation * global::UnityEngine.Vector3.up) < 0f; if (flag3) { result = -vector2.normalized; } else { result = vector2.normalized; } } return(result); }
// Token: 0x060000F3 RID: 243 RVA: 0x0000A718 File Offset: 0x00008918 public static global::UnityEngine.Quaternion Slerp(global::UnityEngine.Quaternion A, global::UnityEngine.Quaternion B, float t) { float num = global::UnityEngine.Mathf.Clamp(A.x * B.x + A.y * B.y + A.z * B.z + A.w * B.w, -1f, 1f); bool flag = num < 0f; if (flag) { B..ctor(-B.x, -B.y, -B.z, -B.w); num = -num; } bool flag2 = 1f - num > 0.0001f; float num4; float num5; if (flag2) { float num2 = global::UnityEngine.Mathf.Acos(num); float num3 = global::UnityEngine.Mathf.Sin(num2); num4 = global::UnityEngine.Mathf.Sin((1f - t) * num2) / num3; num5 = global::UnityEngine.Mathf.Sin(t * num2) / num3; } else { num4 = 1f - t; num5 = t; } return(new global::UnityEngine.Quaternion(num4 * A.x + num5 * B.x, num4 * A.y + num5 * B.y, num4 * A.z + num5 * B.z, num4 * A.w + num5 * B.w)); }
// Token: 0x0600058F RID: 1423 RVA: 0x0001B994 File Offset: 0x00019B94 public static global::UnityEngine.Vector3 ToPitchYawRollRad(this global::UnityEngine.Quaternion rotation) { float num = global::UnityEngine.Mathf.Atan2(2f * rotation.y * rotation.w - 2f * rotation.x * rotation.z, 1f - 2f * rotation.y * rotation.y - 2f * rotation.z * rotation.z); float num2 = global::UnityEngine.Mathf.Atan2(2f * rotation.x * rotation.w - 2f * rotation.y * rotation.z, 1f - 2f * rotation.x * rotation.x - 2f * rotation.z * rotation.z); float num3 = global::UnityEngine.Mathf.Asin(2f * rotation.x * rotation.y + 2f * rotation.z * rotation.w); return(new global::UnityEngine.Vector3(num2, num3, num)); }
// Token: 0x0600031A RID: 794 RVA: 0x00011508 File Offset: 0x0000F708 public void Apply() { global::UnityEngine.Quaternion quaternion = global::UnityEngine.Quaternion.Euler(0f, this.Rotation, 0f); global::SteamVR_Camera steamCam = global::VRGIN.Core.VR.Camera.SteamCam; steamCam.origin.position = this.Position - quaternion * new global::UnityEngine.Vector3(steamCam.head.transform.localPosition.x, 0f, steamCam.head.transform.localPosition.z) * this.Scale; steamCam.origin.rotation = quaternion; global::VRGIN.Core.VR.Settings.IPDScale = this.Scale; }
// Token: 0x0600027C RID: 636 RVA: 0x0000F44C File Offset: 0x0000D64C public virtual void ApplyRotation(global::UnityEngine.Quaternion rotation) { global::UnityEngine.Vector3 forwardVector = global::VRGIN.Helpers.Calculator.GetForwardVector(rotation); global::UnityEngine.Vector3 forwardVector2 = global::VRGIN.Helpers.Calculator.GetForwardVector(global::VRGIN.Core.VR.Camera.SteamCam.head.rotation); bool flag = global::UnityEngine.Vector3.Dot(forwardVector, forwardVector2) < 0.99f; if (flag) { global::VRGIN.Core.VR.Camera.SteamCam.origin.rotation *= global::UnityEngine.Quaternion.FromToRotation(forwardVector2, forwardVector); } }
// Token: 0x060000FF RID: 255 RVA: 0x0000AA14 File Offset: 0x00008C14 public static global::UnityEngine.Quaternion GetRotation(this global::UnityEngine.Matrix4x4 matrix) { global::UnityEngine.Quaternion quaternion = default(global::UnityEngine.Quaternion); quaternion.w = global::UnityEngine.Mathf.Sqrt(global::UnityEngine.Mathf.Max(0f, 1f + matrix.m00 + matrix.m11 + matrix.m22)) / 2f; quaternion.x = global::UnityEngine.Mathf.Sqrt(global::UnityEngine.Mathf.Max(0f, 1f + matrix.m00 - matrix.m11 - matrix.m22)) / 2f; quaternion.y = global::UnityEngine.Mathf.Sqrt(global::UnityEngine.Mathf.Max(0f, 1f - matrix.m00 + matrix.m11 - matrix.m22)) / 2f; quaternion.z = global::UnityEngine.Mathf.Sqrt(global::UnityEngine.Mathf.Max(0f, 1f - matrix.m00 - matrix.m11 + matrix.m22)) / 2f; quaternion.x = global::SteamVR_Utils._copysign(quaternion.x, matrix.m21 - matrix.m12); quaternion.y = global::SteamVR_Utils._copysign(quaternion.y, matrix.m02 - matrix.m20); quaternion.z = global::SteamVR_Utils._copysign(quaternion.z, matrix.m10 - matrix.m01); return(quaternion); }
// Token: 0x0600042F RID: 1071 RVA: 0x00015110 File Offset: 0x00013310 protected override void OnStart() { base.OnStart(); base.transform.SetParent(this._Target, false); global::UnityEngine.Canvas canvas = new global::UnityEngine.GameObject().AddComponent <global::UnityEngine.Canvas>(); canvas.transform.SetParent(base.transform, false); canvas.renderMode = 2; canvas.GetComponent <global::UnityEngine.RectTransform>().SetSizeWithCurrentAnchors(0, 300f); canvas.GetComponent <global::UnityEngine.RectTransform>().SetSizeWithCurrentAnchors(1, 70f); base.transform.rotation = this._Target.parent.rotation; canvas.transform.localScale = new global::UnityEngine.Vector3(0.0001549628f, 0.0001549627f, 0f); canvas.transform.localPosition = this._TextOffset; canvas.transform.localRotation = global::UnityEngine.Quaternion.Euler(90f, 180f, 180f); global::UnityEngine.UI.Text text = new global::UnityEngine.GameObject().AddComponent <global::UnityEngine.UI.Text>(); text.transform.SetParent(canvas.transform, false); text.GetComponent <global::UnityEngine.RectTransform>().anchorMin = global::UnityEngine.Vector2.zero; text.GetComponent <global::UnityEngine.RectTransform>().anchorMax = global::UnityEngine.Vector2.one; text.resizeTextForBestFit = true; text.resizeTextMaxSize = 40; text.resizeTextMinSize = 1; text.color = global::UnityEngine.Color.black; text.font = global::UnityEngine.Resources.GetBuiltinResource <global::UnityEngine.Font>("Arial.ttf"); text.horizontalOverflow = 0; text.verticalOverflow = 0; text.alignment = 4; text.text = this._Text; this._Line = base.gameObject.AddComponent <global::UnityEngine.LineRenderer>(); this._Line.material = global::UnityEngine.Resources.GetBuiltinResource <global::UnityEngine.Material>("Sprites-Default.mat"); this._Line.SetColors(global::UnityEngine.Color.cyan, global::UnityEngine.Color.cyan); this._Line.useWorldSpace = false; this._Line.SetVertexCount(4); this._Line.SetWidth(0.001f, 0.001f); global::UnityEngine.Quaternion quaternion = global::UnityEngine.Quaternion.Inverse(this._Target.localRotation); this._Line.SetPosition(0, this._LineOffset + this._HeightVector * 0.1f); this._Line.SetPosition(1, this._LineOffset + this._HeightVector * 0.5f + this._MovementVector * 0.2f); this._Line.SetPosition(2, this._TextOffset - this._HeightVector * 0.5f - this._MovementVector * 0.2f); this._Line.SetPosition(3, this._TextOffset - this._HeightVector * 0.1f); global::UnityEngine.GameObject gameObject = global::UnityEngine.GameObject.CreatePrimitive(5); gameObject.transform.SetParent(base.transform, false); gameObject.transform.localPosition = this._TextOffset - global::UnityEngine.Vector3.up * 0.001f; gameObject.transform.localRotation = global::UnityEngine.Quaternion.Euler(90f, 0f, 0f); gameObject.transform.localScale = new global::UnityEngine.Vector3(0.05539737f, 0.009849964f, 0f); bool flag = !global::VRGIN.Controls.HelpText.S_Material; if (flag) { global::VRGIN.Controls.HelpText.S_Material = global::VRGIN.Core.VRManager.Instance.Context.Materials.Unlit; global::VRGIN.Controls.HelpText.S_Material.color = global::UnityEngine.Color.white; } gameObject.transform.GetComponent <global::UnityEngine.Renderer>().sharedMaterial = global::VRGIN.Controls.HelpText.S_Material; gameObject.GetComponent <global::UnityEngine.Collider>().enabled = false; }
// Token: 0x060002C9 RID: 713 RVA: 0x00010C5C File Offset: 0x0000EE5C public void Update() { bool flag = !this._Left || !this._Right; if (!flag) { float num = global::UnityEngine.Vector3.Distance(this._Left.position, this._Right.position); float num2 = global::UnityEngine.Vector3.Distance(this._StartLeft.Value, this._StartRight.Value); global::UnityEngine.Vector3 vector = this._Right.position - this._Left.position; global::UnityEngine.Vector3 vector2 = this._Left.position + vector * 0.5f; global::UnityEngine.Quaternion quaternion = global::UnityEngine.Quaternion.Inverse(global::VRGIN.Core.VR.Camera.SteamCam.origin.rotation); global::UnityEngine.Quaternion averageRotation = this.GetAverageRotation(); global::UnityEngine.Quaternion quaternion2 = quaternion * averageRotation * global::UnityEngine.Quaternion.Inverse(quaternion * this._StartRotationController); this._Gui.transform.localScale = num / num2 * this._StartScale.Value; this._Gui.transform.localRotation = quaternion2 * this._StartRotation.Value; this._Gui.transform.position = vector2 + averageRotation * global::UnityEngine.Quaternion.Inverse(this._StartRotationController) * this._OffsetFromCenter.Value; } }
// Token: 0x0600047C RID: 1148 RVA: 0x000167E8 File Offset: 0x000149E8 private void HandleGrabbing() { bool flag = base.OtherController.IsTracking && !this.HasLock(); if (flag) { base.OtherController.TryAcquireFocus(out this._OtherLock); } bool flag2 = this.HasLock() && base.OtherController.Input.GetPressDown(global::Valve.VR.EVRButtonId.k_EButton_Axis1); if (flag2) { this._ScaleInitialized = false; } bool flag3 = this.HasLock() && base.OtherController.Input.GetPressDown(global::Valve.VR.EVRButtonId.k_EButton_Grip); if (flag3) { this._RotationInitialized = false; } bool press = base.Controller.GetPress(global::Valve.VR.EVRButtonId.k_EButton_Grip); if (press) { bool flag4 = this.HasLock() && (base.OtherController.Input.GetPress(global::Valve.VR.EVRButtonId.k_EButton_Grip) || base.OtherController.Input.GetPress(global::Valve.VR.EVRButtonId.k_EButton_Axis1)); if (flag4) { global::UnityEngine.Vector3 normalized = (base.OtherController.transform.position - base.transform.position).normalized; bool press2 = base.OtherController.Input.GetPress(global::Valve.VR.EVRButtonId.k_EButton_Axis1); if (press2) { this.InitializeScaleIfNeeded(); float num = global::UnityEngine.Vector3.Distance(base.OtherController.transform.position, base.transform.position) * (this._InitialIPD / global::VRGIN.Core.VR.Settings.IPDScale); float num2 = num / this._InitialControllerDistance; global::VRGIN.Core.VR.Settings.IPDScale = num2 * this._InitialIPD; this._ProspectedPlayArea.Scale = global::VRGIN.Core.VR.Settings.IPDScale; } bool press3 = base.OtherController.Input.GetPress(global::Valve.VR.EVRButtonId.k_EButton_Grip); if (press3) { this.InitializeRotationIfNeeded(); float num3 = global::VRGIN.Helpers.Calculator.Angle(this._PrevFromTo, normalized) * global::VRGIN.Core.VR.Settings.RotationMultiplier; global::VRGIN.Core.VR.Camera.SteamCam.origin.transform.RotateAround(global::VRGIN.Core.VR.Camera.Head.position, global::UnityEngine.Vector3.up, num3); this._ProspectedPlayArea.Rotation += num3; } this._PrevFromTo = (base.OtherController.transform.position - base.transform.position).normalized; } else { global::UnityEngine.Vector3 vector = base.transform.position - this._PrevControllerPos; global::UnityEngine.Quaternion quaternion = global::UnityEngine.Quaternion.Inverse(this._PrevControllerRot * global::UnityEngine.Quaternion.Inverse(base.transform.rotation)) * (base.transform.rotation * global::UnityEngine.Quaternion.Inverse(base.transform.rotation)); float?num4 = global::UnityEngine.Time.unscaledTime - this._GripStartTime; float num5 = 0.1f; bool flag5 = (num4.GetValueOrDefault() > num5 & num4 != null) || global::VRGIN.Helpers.Calculator.Distance(vector.magnitude) > 0.01f; if (flag5) { global::UnityEngine.Vector3 forward = global::UnityEngine.Vector3.forward; global::UnityEngine.Vector3 v = quaternion * global::UnityEngine.Vector3.forward; float num6 = global::VRGIN.Helpers.Calculator.Angle(forward, v) * global::VRGIN.Core.VR.Settings.RotationMultiplier; global::VRGIN.Core.VR.Camera.SteamCam.origin.transform.position -= vector; this._ProspectedPlayArea.Height -= vector.y; bool flag6 = !global::VRGIN.Core.VR.Settings.GrabRotationImmediateMode && base.Controller.GetPress(12884901888UL); if (flag6) { global::VRGIN.Core.VR.Camera.SteamCam.origin.transform.RotateAround(global::VRGIN.Core.VR.Camera.Head.position, global::UnityEngine.Vector3.up, -num6); this._ProspectedPlayArea.Rotation -= num6; } this._GripStartTime = new float?(0f); } } } bool pressUp = base.Controller.GetPressUp(global::Valve.VR.EVRButtonId.k_EButton_Grip); if (pressUp) { this.EnterState(global::VRGIN.Controls.Tools.WarpTool.WarpState.None); float?num4 = global::UnityEngine.Time.unscaledTime - this._GripStartTime; float num5 = 0.1f; bool flag7 = num4.GetValueOrDefault() < num5 & num4 != null; if (flag7) { this.Owner.StartRumble(new global::VRGIN.Helpers.RumbleImpulse(800)); this._ProspectedPlayArea.Height = 0f; this._ProspectedPlayArea.Scale = this._IPDOnStart; } } bool flag8 = global::VRGIN.Core.VR.Settings.GrabRotationImmediateMode && base.Controller.GetPressUp(12884901888UL); if (flag8) { global::UnityEngine.Vector3 normalized2 = global::UnityEngine.Vector3.ProjectOnPlane(base.transform.position - global::VRGIN.Core.VR.Camera.Head.position, global::UnityEngine.Vector3.up).normalized; global::UnityEngine.Vector3 normalized3 = global::UnityEngine.Vector3.ProjectOnPlane(global::VRGIN.Core.VR.Camera.Head.forward, global::UnityEngine.Vector3.up).normalized; float num7 = global::VRGIN.Helpers.Calculator.Angle(normalized2, normalized3); global::VRGIN.Core.VR.Camera.SteamCam.origin.transform.RotateAround(global::VRGIN.Core.VR.Camera.Head.position, global::UnityEngine.Vector3.up, num7); this._ProspectedPlayArea.Rotation = num7; } this._PrevControllerPos = base.transform.position; this._PrevControllerRot = base.transform.rotation; this.CheckRotationalPress(); }
// Token: 0x0600007D RID: 125 RVA: 0x00005BB0 File Offset: 0x00003DB0 private void LateUpdate() { bool flag = this.blendPct < 0.001f; if (!flag) { global::UnityEngine.Vector3 vector = this.upVector ? this.upVector.up : global::UnityEngine.Vector3.Cross(this.end.position - this.start.position, this.joint.position - this.start.position).normalized; global::UnityEngine.Vector3 position = this.target.position; global::UnityEngine.Quaternion rotation = this.target.rotation; global::UnityEngine.Vector3 position2 = this.joint.position; global::UnityEngine.Vector3 vector2; global::UnityEngine.Vector3 vector3; global::SteamVR_IK.Solve(this.start.position, position, this.poleVector.position, (this.joint.position - this.start.position).magnitude, (this.end.position - this.joint.position).magnitude, ref position2, out vector2, out vector3); bool flag2 = vector3 == global::UnityEngine.Vector3.zero; if (!flag2) { global::UnityEngine.Vector3 position3 = this.start.position; global::UnityEngine.Vector3 position4 = this.joint.position; global::UnityEngine.Vector3 position5 = this.end.position; global::UnityEngine.Quaternion localRotation = this.start.localRotation; global::UnityEngine.Quaternion localRotation2 = this.joint.localRotation; global::UnityEngine.Quaternion localRotation3 = this.end.localRotation; global::UnityEngine.Transform parent = this.start.parent; global::UnityEngine.Transform parent2 = this.joint.parent; global::UnityEngine.Transform parent3 = this.end.parent; global::UnityEngine.Vector3 localScale = this.start.localScale; global::UnityEngine.Vector3 localScale2 = this.joint.localScale; global::UnityEngine.Vector3 localScale3 = this.end.localScale; bool flag3 = this.startXform == null; if (flag3) { this.startXform = new global::UnityEngine.GameObject("startXform").transform; this.startXform.parent = base.transform; } this.startXform.position = position3; this.startXform.LookAt(this.joint, vector); this.start.parent = this.startXform; bool flag4 = this.jointXform == null; if (flag4) { this.jointXform = new global::UnityEngine.GameObject("jointXform").transform; this.jointXform.parent = this.startXform; } this.jointXform.position = position4; this.jointXform.LookAt(this.end, vector); this.joint.parent = this.jointXform; bool flag5 = this.endXform == null; if (flag5) { this.endXform = new global::UnityEngine.GameObject("endXform").transform; this.endXform.parent = this.jointXform; } this.endXform.position = position5; this.end.parent = this.endXform; this.startXform.LookAt(position2, vector3); this.jointXform.LookAt(position, vector3); this.endXform.rotation = rotation; this.start.parent = parent; this.joint.parent = parent2; this.end.parent = parent3; this.end.rotation = rotation; bool flag6 = this.blendPct < 1f; if (flag6) { this.start.localRotation = global::UnityEngine.Quaternion.Slerp(localRotation, this.start.localRotation, this.blendPct); this.joint.localRotation = global::UnityEngine.Quaternion.Slerp(localRotation2, this.joint.localRotation, this.blendPct); this.end.localRotation = global::UnityEngine.Quaternion.Slerp(localRotation3, this.end.localRotation, this.blendPct); } this.start.localScale = localScale; this.joint.localScale = localScale2; this.end.localScale = localScale3; } } }
// Token: 0x0600068E RID: 1678 RVA: 0x0001FF43 File Offset: 0x0001E143 public RigidTransform(global::UnityEngine.Vector3 pos, global::UnityEngine.Quaternion rot) { this.pos = pos; this.rot = rot; }
// Token: 0x0600027B RID: 635 RVA: 0x0000F38C File Offset: 0x0000D58C public virtual void MoveToPosition(global::UnityEngine.Vector3 targetPosition, global::UnityEngine.Quaternion rotation = default(global::UnityEngine.Quaternion), bool ignoreHeight = true) { this.ApplyRotation(rotation); float num = ignoreHeight ? 0f : targetPosition.y; float num2 = ignoreHeight ? 0f : global::VRGIN.Core.VR.Camera.SteamCam.head.position.y; targetPosition..ctor(targetPosition.x, num, targetPosition.z); global::UnityEngine.Vector3 vector; vector..ctor(global::VRGIN.Core.VR.Camera.SteamCam.head.position.x, num2, global::VRGIN.Core.VR.Camera.SteamCam.head.position.z); global::VRGIN.Core.VR.Camera.SteamCam.origin.position += targetPosition - vector; }
// Token: 0x06000690 RID: 1680 RVA: 0x0001FF70 File Offset: 0x0001E170 public RigidTransform(global::UnityEngine.Transform from, global::UnityEngine.Transform to) { global::UnityEngine.Quaternion quaternion = global::UnityEngine.Quaternion.Inverse(from.rotation); this.rot = quaternion * to.rotation; this.pos = quaternion * (to.position - from.position); }
// Token: 0x06000060 RID: 96 RVA: 0x00004340 File Offset: 0x00002540 private void OnNewPosesApplied(params object[] args) { global::UnityEngine.Transform origin = this.vrcam.origin; global::UnityEngine.Quaternion quaternion = (origin != null) ? origin.rotation : global::UnityEngine.Quaternion.identity; base.transform.rotation = quaternion * this.offset; }
public global::System.Threading.Tasks.Task MovePosition(global::UnityEngine.Vector3 position, global::UnityEngine.Quaternion rotation) { return(WriteMessageWithResponseAsync <DynamicArgumentTuple <global::UnityEngine.Vector3, global::UnityEngine.Quaternion>, Nil>(-1563398489, new DynamicArgumentTuple <global::UnityEngine.Vector3, global::UnityEngine.Quaternion>(position, rotation))); }
public global::System.Threading.Tasks.Task <global::Sandbox.NetCoreServer.Hubs.Player[]> JoinAsync(string roomName, string userName, global::UnityEngine.Vector3 position, global::UnityEngine.Quaternion rotation) { return(__parent.WriteMessageAsyncFireAndForget <DynamicArgumentTuple <string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>, global::Sandbox.NetCoreServer.Hubs.Player[]> (-733403293, new DynamicArgumentTuple <string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>(roomName, userName, position, rotation))); }
public global::System.Threading.Tasks.Task MoveAsync(global::UnityEngine.Vector3 position, global::UnityEngine.Quaternion rotation) { return(__parent.WriteMessageAsync <DynamicArgumentTuple <global::UnityEngine.Vector3, global::UnityEngine.Quaternion> >(-99261176, new DynamicArgumentTuple <global::UnityEngine.Vector3, global::UnityEngine.Quaternion>(position, rotation))); }
public global::System.Threading.Tasks.Task <global::Shared.MessagePackObjects.Player[]> JoinAsync(string roomName, string userName, global::UnityEngine.Vector3 position, global::UnityEngine.Quaternion rotation) { return(WriteMessageWithResponseAsync <DynamicArgumentTuple <string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>, global::Shared.MessagePackObjects.Player[]> (-733403293, new DynamicArgumentTuple <string, string, global::UnityEngine.Vector3, global::UnityEngine.Quaternion>(roomName, userName, position, rotation))); }