Added Unity project files
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimInteractable
|
||||
{
|
||||
float GetProximity();
|
||||
bool CanInteract();
|
||||
string GetInteractText();
|
||||
Vector3 GetInteractTextPlacement();
|
||||
void Interact();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 21636088934f3b046ae75a139062188f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,10 @@
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimPickupHandler
|
||||
{
|
||||
void OnPickup();
|
||||
void OnDrop();
|
||||
void OnPickupUseDown();
|
||||
void OnPickupUseUp();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e92c80793952b604689f26d846684351
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using VRC.SDKBase;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimPickupable : IClientSimInteractable
|
||||
{
|
||||
bool IsHeld();
|
||||
VRCPlayerApi GetHoldingPlayer();
|
||||
bool AutoHold();
|
||||
GameObject GetGameObject();
|
||||
Transform GetTransform();
|
||||
Rigidbody GetRigidbody();
|
||||
VRC_Pickup GetPickup();
|
||||
VRC_Pickup.PickupOrientation GetOrientation();
|
||||
Transform GetGunLocation();
|
||||
Transform GetGripLocation();
|
||||
float GetThrowVelocityBoostScale();
|
||||
bool AllowManipulation();
|
||||
void Pickup(VRCPlayerApi player, VRC_Pickup.PickupHand heldHand, Action<IClientSimPickupable> forceDrop);
|
||||
void Drop(VRCPlayerApi player);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 055ff67a9eb2dd64eb2c06f4df3626e5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,9 @@
|
||||
using VRC.SDK3.Platform;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimPlatformManager
|
||||
{
|
||||
void OnScreenUpdate(ScreenUpdateData data);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0eab22d28a864961b5fdde0d9feae259
|
||||
timeCreated: 1698363855
|
||||
@ -0,0 +1,19 @@
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an object that syncs its position
|
||||
/// </summary>
|
||||
public interface IClientSimPositionSyncable : IClientSimSyncable, IClientSimRespawnHandler
|
||||
{
|
||||
bool SyncPosition { get; }
|
||||
void SetIsKinematic(bool value);
|
||||
void SetUseGravity(bool value);
|
||||
bool GetIsKinematic();
|
||||
bool GetUseGravity();
|
||||
void UpdatePositionSync();
|
||||
Transform GetTransform();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b6da4177d7e4ca78b196bbf95952162
|
||||
timeCreated: 1640133052
|
||||
@ -0,0 +1,7 @@
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimRespawnHandler
|
||||
{
|
||||
void Respawn();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5fb7511272166a46844d934faa1c807
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,25 @@
|
||||
using UnityEngine;
|
||||
using VRC.SDKBase;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimStation
|
||||
{
|
||||
Transform EnterLocation();
|
||||
Transform ExitLocation();
|
||||
bool IsMobile();
|
||||
bool IsSeated();
|
||||
bool DisableStationExit();
|
||||
bool CanUseStationFromStation();
|
||||
bool IsLockedInStation();
|
||||
VRCStation GetStation();
|
||||
GameObject GetStationGameObject();
|
||||
Transform GetStationTransform();
|
||||
|
||||
void EnterStation(VRCPlayerApi player);
|
||||
void ExitStation(VRCPlayerApi player);
|
||||
|
||||
bool IsOccupied();
|
||||
VRCPlayerApi GetCurrentSittingPlayer();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74b90df615347ae4ea37ca4ad194ae63
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,10 @@
|
||||
using VRC.SDKBase;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimStationHandler
|
||||
{
|
||||
void OnStationEnter(VRCStation station);
|
||||
void OnStationExit(VRCStation station);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c3297e7438270ea4cb73974aaad463b9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,8 @@
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimSyncable
|
||||
{
|
||||
int GetOwner();
|
||||
void SetOwner(int ownerID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 58e4590a77a47fa429b2271e49050c99
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,7 @@
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimSyncableHandler
|
||||
{
|
||||
void OnOwnershipTransferred(int ownerID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9cad5ab39e663849a092d187a23aa10
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user