Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

RoleExtensionReturn class: Difference between revisions

From Catglobe Wiki
Created page with "{{CGscriptClass_Template |Name=<nowiki>RoleExtensionReturn</nowiki> |Description=<nowiki>Return result for executing a role extension</nowiki> |Constructors= {{CGscriptConstru..."
 
No edit summary
Line 13: Line 13:
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
}}
}}
[[Category:Roles]]

Revision as of 06:47, 19 December 2019

RoleExtensionReturn



Return result for executing a role extension

Constructors

  • () - Make new return result holder

Methods

  • string ToString() - The string representation of the object.

Properties

  • string ErrorMessage { get; set; } - If not success, this contains the error message. If empty, errormessages per user is in the result array.
  • string ObjectTypeName { get; } - The name of the type of object.
  • Array of Array Result { get; set; } - Any result returned from the script, the order and length of each must match the original Users/Role array.
  • bool Success { get; set; } - Did the script complete successful?
  • TypeInformation TypeInformation { get; } - Get information about this class.