Function makeMultiplayerVariablesManager
- makeMultiplayerVariablesManager(): {
disableVariableSynchronization: ((runtimeScene, variable) => void);
getPlayerVariableOwnership: ((runtimeScene, variable) => null | number);
getVariableTypeAndNameFromNetworkId: ((variableNetworkId) => {
containerId: string;
name: string;
type: string;
});
handleChangeVariableOwnerMessagesToSend: (() => void);
removeVariableOwnership: ((runtimeScene, variable) => void);
setPlayerVariableOwnership: ((runtimeScene, variable, newVariablePlayerNumber) => void);
takeVariableOwnership: ((runtimeScene, variable) => void);
} Returns {
disableVariableSynchronization: ((runtimeScene, variable) => void);
getPlayerVariableOwnership: ((runtimeScene, variable) => null | number);
getVariableTypeAndNameFromNetworkId: ((variableNetworkId) => {
containerId: string;
name: string;
type: string;
});
handleChangeVariableOwnerMessagesToSend: (() => void);
removeVariableOwnership: ((runtimeScene, variable) => void);
setPlayerVariableOwnership: ((runtimeScene, variable, newVariablePlayerNumber) => void);
takeVariableOwnership: ((runtimeScene, variable) => void);
}
disableVariableSynchronization: ((runtimeScene, variable) => void)
- (runtimeScene, variable): void
Returns void
getPlayerVariableOwnership: ((runtimeScene, variable) => null | number)
- (runtimeScene, variable): null | number
Returns null | number
getVariableTypeAndNameFromNetworkId: ((variableNetworkId) => {
containerId: string;
name: string;
type: string;
})
- (variableNetworkId): {
containerId: string;
name: string;
type: string;
} Parameters
- variableNetworkId: string
Returns {
containerId: string;
name: string;
type: string;
}
containerId: string
name: string
type: string
handleChangeVariableOwnerMessagesToSend: (() => void)
removeVariableOwnership: ((runtimeScene, variable) => void)
- (runtimeScene, variable): void
Returns void
setPlayerVariableOwnership: ((runtimeScene, variable, newVariablePlayerNumber) => void)
- (runtimeScene, variable, newVariablePlayerNumber): void
Returns void
takeVariableOwnership: ((runtimeScene, variable) => void)
- (runtimeScene, variable): void
Returns void