class SafetyExecutive : public nn::nex::RootObject
Determines whether to execute system operations.
This class is used before a system operation executes to determine whether to execute an operation because it is an invalid operating instruction. Illegal operations sometimes occur due to bugs or a player exploiting cheats in game code. Because cheats are rare in games that are still under development (beta versions), the majority of illegal system operations result from bugs in game code.
The SafetyExecutive
class can be used to see whether conditions are right for execution for various operations such as creating an object, deleting an object, or migrating (moving between stations using duplicated object control). Illegal migration can be prevented if certain conditions have been established for application specifications (such as when migration is only allowed to execute for 30 seconds after a match) and a given operation is denied when such conditions are not met (such as attempting to migrate one minute after a match starts when there is a 30-second limit).
See the description of the RegisterCustomOperationCheck function to find detailed information on how system operations can be restricted.
Objects in this class are created automatically by the system. Do not allow applications to create objects in this class. Use the GetInstance
function to get object instances.
CustomOperationCheck | Definition of the function pointer type used to determine whether it is okay for an operation to execute. | |
---|---|---|
InvalidOperationCallback | Definition of the pointer type of the function used to determine what type of process can execute when operation execution has been denied. |
SafetyExecutive | Do not call this constructor from applications. | |
---|---|---|
V | ~SafetyExecutive | Do not call this destructor from applications. |
RegisterCustomOperationCheck | Registers a callback function for determining whether to allow or deny a system operation (Operation). | |
RegisterInvalidOperationCallback | Registers a callback function for determining what executes if a system operation is denied. | |
TrustLocalStation | Sets whether to trust the local station. | |
LocalStationIsTrusted | Gets whether to trust the local station. | |
S |
GetInstance
|
Gets a pointer to an instance of SafetyExecutive . |
nn::nex::RootObject
nn::nex::SafetyExecutive
CONFIDENTIAL