Infinity.AdoptedUser¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Request log of this user |
||
r/w |
The state this user is currently at |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
priv |
r |
Class Details¶
- class Infinity.AdoptedUser(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Infinity.AdoptedUser
is an opaque data type. You should only access it via the public API functions.- get_component(id)¶
- Parameters:
id (
int
) – The component to retrieve.- Returns:
The number of requests self has processed from id.
- Return type:
Returns the amount of requests self is guaranteed to have processed from the user with ID id.
- get_request_log()¶
- Returns:
User’s
Infinity.AdoptedRequestLog
.- Return type:
Returns the request log of self.
- get_vector()¶
- Returns:
The current vector time of self.
- Return type:
Returns the current vector time of self.
- set_vector(vec)¶
- Parameters:
vec (
Infinity.AdoptedStateVector
) – AInfinity.AdoptedStateVector
.
Updates the state vector of self. This function takes ownership of vec.
Property Details¶
- Infinity.AdoptedUser.props.request_log¶
- Name:
request-log
- Type:
- Default Value:
- Flags:
Request log of this user
- Infinity.AdoptedUser.props.vector¶
- Name:
vector
- Type:
- Default Value:
- Flags:
The state this user is currently at