Ags.ControllerResource¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
access_mode |
r/w |
the access mode of permissions |
|
group_id |
r/w |
the group id of permissions |
|
ref_count |
r/w |
the reference count |
|
user_id |
r/w |
the user id of permissions |
Methods¶
class |
|
class |
|
class |
|
class |
|
Details¶
- class Ags.ControllerResource¶
Specifing attributes of resources.
- classmethod alloc(group_id, user_id, access_mode)¶
- Parameters:
- Returns:
the newly allocated
Ags.ControllerResource
-struct- Return type:
Allocated
Ags.ControllerResource
-struct.New in version 3.0.0.
- classmethod free(controller_resource)¶
- Parameters:
controller_resource (
object
orNone
) – theAgs.ControllerResource
-struct
Free controller_resource.
New in version 3.0.0.
- classmethod ref(controller_resource)¶
- Parameters:
controller_resource (
object
orNone
) – theAgs.ControllerResource
-struct
Increase ref-count of controller_resource.
New in version 3.0.0.
- classmethod unref(controller_resource)¶
- Parameters:
controller_resource (
object
orNone
) – theAgs.ControllerResource
-struct
Decrease ref-count of controller_resource and free it if ref-count drops to 0.
New in version 3.0.0.