Ags.Timestamp¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
attack  | 
r  | 
||
delay  | 
r  | 
||
flags  | 
r  | 
||
gobject  | 
r  | 
||
obj_mutex  | 
r  | 
Class Details¶
- class Ags.Timestamp(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new()¶
 - Returns:
 a new
Ags.Timestamp- Return type:
 
Creates an
Ags.TimestampNew in version 3.0.0.
- get_ags_offset()¶
 - Returns:
 the AGS offset as unsigned 64 bit integer
- Return type:
 
Get AGS offset.
New in version 3.0.0.
- get_unix_time()¶
 - Returns:
 the unix time as time_t value
- Return type:
 
Get unix time.
New in version 3.0.0.
- set_ags_offset(ags_offset)¶
 - Parameters:
 ags_offset (
int) – the AGS offset
Set AGS offset as unsigned 64 bit integer.
New in version 3.0.0.
- set_flags(flags)¶
 - Parameters:
 flags (
Ags.TimestampFlags) – the flags
Set flags of self.
New in version 3.0.0.
- set_unix_time(unix_time)¶
 - Parameters:
 unix_time (
int) – the unix time value
Set unix time.
New in version 3.0.0.
- test_flags(flags)¶
 - Parameters:
 flags (
Ags.TimestampFlags) – the flags- Returns:
 - Return type:
 
Test flags to be set.
New in version 3.0.0.
- unset_flags(flags)¶
 - Parameters:
 flags (
Ags.TimestampFlags) – the flags
Unset flags of self.
New in version 3.0.0.