PlayerMsg class

Pigeon original component, used to generate native communication code for messages. The generation command is as follows. When using the generation command, the two import statements above need to be implemented or commented out.

pigeon原始原件,由此文件生成messages原生通信代码 生成命令如下,使用生成命令的时候,需要实现注释掉以上两个import导入

Constructors

PlayerMsg.new({int? playerId})

Properties

hashCode int
The hash code for this object.
no setterinherited
playerId int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(Object result) PlayerMsg