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

User expirePoints: Difference between revisions

From Catglobe Wiki
Line 8: Line 8:


== Arguments ==
== Arguments ==
 
* userResourceId: array of userResourceId
* expireAllBefore: DateTime class, points will be expired before that time
* Description: string
* Test: Boolean, optional. If false all points before input time will be expired; if True will return amount expired but doesnt actually expire


== Return type ==
== Return type ==

Revision as of 10:05, 21 November 2019

User_expirePoints

Syntax

User_expirePoints(array userResourceId, CGDateTime expireAllBefore, string Description[, Boolean Test]);

Arguments

  • userResourceId: array of userResourceId
  • expireAllBefore: DateTime class, points will be expired before that time
  • Description: string
  • Test: Boolean, optional. If false all points before input time will be expired; if True will return amount expired but doesnt actually expire

Return type

Dictionary

Example