nextpyp.client.gen.RealTimeS2C#

class nextpyp.client.gen.RealTimeS2C#

Bases: object

server-to-client (S2C) messages for real-time communication

Methods

__init__

deserialize

rtype:

RealTimeS2C

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

Details

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

RealTimeS2C

Parameters:
  • json (Dict[str, Any]) –

  • type_ids (Dict[str, str] | None) –

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]