Пример #1
0
 // Token: 0x060051F6 RID: 20982 RVA: 0x001C0C9F File Offset: 0x001BF09F
 public static void ClearSilence(VRC_PlayerApi player)
 {
     player.GetComponent <VRCPlayer>().ClearSilence();
 }
Пример #2
0
 // Token: 0x060051F7 RID: 20983 RVA: 0x001C0CAC File Offset: 0x001BF0AC
 public static void TeleportTo(VRC_PlayerApi player, Vector3 teleportPos, Quaternion teleportRot)
 {
     InternalSDKPlayer.TeleportToOrientation(player, teleportPos, teleportRot, VRC_SceneDescriptor.SpawnOrientation.Default);
 }
Пример #3
0
 // Token: 0x060051F4 RID: 20980 RVA: 0x001C0C81 File Offset: 0x001BF081
 public static void SetSilencedToUntagged(VRC_PlayerApi player, int level, string tagName, string tagValue)
 {
     player.GetComponent <VRCPlayer>().SetSilencedToTagged(level, tagName, tagValue, true);
 }
Пример #4
0
 // Token: 0x060051F5 RID: 20981 RVA: 0x001C0C92 File Offset: 0x001BF092
 public static void ClearInvisible(VRC_PlayerApi player)
 {
     player.GetComponent <VRCPlayer>().ClearInvisible();
 }
Пример #5
0
 // Token: 0x060051F0 RID: 20976 RVA: 0x001C0C41 File Offset: 0x001BF041
 public static void ClearPlayerTags(VRC_PlayerApi player)
 {
     player.GetComponent <VRCPlayer>().ClearPlayerTags();
 }
Пример #6
0
 // Token: 0x060051F2 RID: 20978 RVA: 0x001C0C5F File Offset: 0x001BF05F
 public static void SetInvisibleToUntagged(VRC_PlayerApi player, bool invisible, string tagName, string tagValue)
 {
     player.GetComponent <VRCPlayer>().SetInvisibleToTagged(invisible, tagName, tagValue, true);
 }
Пример #7
0
 // Token: 0x060051ED RID: 20973 RVA: 0x001C0C1A File Offset: 0x001BF01A
 public static void SetPlayerTag(VRC_PlayerApi player, string tagName, string tagValue)
 {
     player.GetComponent <VRCPlayer>().SetPlayerTag(tagName, tagValue);
 }
Пример #8
0
 // Token: 0x060051E6 RID: 20966 RVA: 0x001C0B63 File Offset: 0x001BEF63
 public static void SetPickupInHand(VRC_PlayerApi player, VRC_Pickup pickup, VRC_Pickup.PickupHand hand)
 {
 }
Пример #9
0
 // Token: 0x060051EB RID: 20971 RVA: 0x001C0BFF File Offset: 0x001BEFFF
 public static void SetNamePlateVisibility(VRC_PlayerApi player, bool flag)
 {
     player.GetComponent <VRCPlayer>().SetNamePlateVisibility(flag);
 }
Пример #10
0
 // Token: 0x060051EC RID: 20972 RVA: 0x001C0C0D File Offset: 0x001BF00D
 public static void RestoreNamePlateVisibility(VRC_PlayerApi player)
 {
     player.GetComponent <VRCPlayer>().RestoreNamePlateVisibility();
 }
Пример #11
0
 // Token: 0x060051EA RID: 20970 RVA: 0x001C0BF2 File Offset: 0x001BEFF2
 public static void RestoreNamePlateColor(VRC_PlayerApi player)
 {
     player.GetComponent <VRCPlayer>().RestoreNamePlateColor();
 }
Пример #12
0
 // Token: 0x060051E9 RID: 20969 RVA: 0x001C0BE4 File Offset: 0x001BEFE4
 public static void SetNamePlateColor(VRC_PlayerApi player, Color col)
 {
     player.GetComponent <VRCPlayer>().SetNamePlateColor(col);
 }
Пример #13
0
 // Token: 0x060051E8 RID: 20968 RVA: 0x001C0BD6 File Offset: 0x001BEFD6
 public static void EnablePickups(VRC_PlayerApi player, bool enable)
 {
     player.GetComponent <VRCPlayer>().canPickupObjects = enable;
 }
Пример #14
0
 // Token: 0x060051DE RID: 20958 RVA: 0x001C08C0 File Offset: 0x001BECC0
 public static int GetPlayerId(VRC_PlayerApi player)
 {
     return((!(player == null)) ? VRC.Network.GetInstigatorID(player.GetComponent <VRC.Player>()) : -1);
 }
Пример #15
0
 // Token: 0x060051EE RID: 20974 RVA: 0x001C0C29 File Offset: 0x001BF029
 public static string GetPlayerTag(VRC_PlayerApi player, string tagName)
 {
     return(player.GetComponent <VRCPlayer>().GetPlayerTag(tagName));
 }
Пример #16
0
 // Token: 0x060051DF RID: 20959 RVA: 0x001C08DF File Offset: 0x001BECDF
 public static bool IsOwner(VRC_PlayerApi player, GameObject obj)
 {
     return(VRC.Network.IsOwner(player.GetComponent <VRC.Player>(), obj));
 }
Пример #17
0
 // Token: 0x06005987 RID: 22919 RVA: 0x001F19A0 File Offset: 0x001EFDA0
 public void OnPlayerJoined(VRC_PlayerApi apiPlayer)
 {
     this.LastUnsettledTime = Time.time + this.UserJoinedUnsettlingTime;
 }