nextpyp.client.gen.RealTimeC2S#

class nextpyp.client.gen.RealTimeC2S#

Bases: object

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

Methods

__init__

deserialize

rtype:

RealTimeC2S

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:

RealTimeC2S

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

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

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]