Table of Contents

Class ShadowRealmHandler

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class ShadowRealmHandler : MonoBehaviour
Inheritance
ShadowRealmHandler
Inherited Members
Extension Methods

Constructors

ShadowRealmHandler()

public ShadowRealmHandler()

Fields

currentRealms

public Realm[] currentRealms

Field Value

Realm[]

instance

public static ShadowRealmHandler instance

Field Value

ShadowRealmHandler

realms

public List<GameObject> realms

Field Value

List<GameObject>

view

public PhotonView view

Field Value

PhotonView

Methods

AddPlayerToExistingRealm(Player, int)

public void AddPlayerToExistingRealm(Player target, int targetRealm)

Parameters

target Player
targetRealm int

Awake()

public void Awake()

GetRealmID(GameObject)

public int GetRealmID(GameObject realm)

Parameters

realm GameObject

Returns

int

GetRealmPosition(int)

public Vector3 GetRealmPosition(int spotID)

Parameters

spotID int

Returns

Vector3

GetSpotID()

public int GetSpotID()

Returns

int

PlayerLeaveRealm(Player, GameObject)

public void PlayerLeaveRealm(Player p, GameObject realm)

Parameters

p Player
realm GameObject

RPCA_AddPlayerToExistingRealm(int, int)

[PunRPC]
public void RPCA_AddPlayerToExistingRealm(int targetPlayer, int targetRealm)

Parameters

targetPlayer int
targetRealm int

RPCA_AddRealm(int, int, int)

[PunRPC]
public void RPCA_AddRealm(int realmID, int spotID, int targetID)

Parameters

realmID int
spotID int
targetID int

RPCA_RealmEntryDenied(int)

[PunRPC]
public void RPCA_RealmEntryDenied(int targetID)

Parameters

targetID int

RPCA_RemovePlayerFromRealm(int, int, Vector3)

[PunRPC]
public void RPCA_RemovePlayerFromRealm(int spotID, int targetID, Vector3 returnPos)

Parameters

spotID int
targetID int
returnPos Vector3

Start()

public void Start()

TeleportPlayerToRandomRealm(Player)

public int TeleportPlayerToRandomRealm(Player target)

Parameters

target Player

Returns

int