#include <netObject_ScriptBinding.h>
Inherits SimObject.
◆ clearScopeToClient()
void clearScopeToClient |
( |
client |
| ) |
|
Use the clearScopeToClient method to undo the effects of a previous call to scopeToClient.
- Parameters
-
client | The ID of the client to stop forcing scoping this object for. |
- Returns
- No return value.
- See also
- scopeToClient
◆ getGhostID()
- Returns
- Returns the ghost ID of the object
◆ scopeToClient()
void scopeToClient |
( |
client |
| ) |
|
Use the scopeToClient method to force this object to be SCOPE_ALWAYS on client. When an object is SCOPE_ALWAYS it is always ghosted. Therefore, if you have an object that should always be ghosted to a client, use this method.
- Parameters
-
client | The ID of the client to force this object to be SCOPE_ALWAYS for. |
- Returns
- No return value.
- See also
- clearScopeToClient, setScopeAlways
◆ setScopeAlways()
Use the setScopeAlways method to force an object to be SCOPE_ALWAYS for all clients. When an object is SCOPE_ALWAYS it is always ghosted. Therefore, if you have an object that should always be ghosted to all clients, use this method.
- Returns
- No return value.
- See also
- scopeToClient