AppPlayerInfo class

A class that includes the in-game information for the current player, such as the level, role, and server region, for you to use when calling the savePlayerInfo method of PlayersClient.

Constructors

AppPlayerInfo({String? rank, String? role, String? area, String? society, String? playerId, String? openId})
AppPlayerInfo.fromMap(Map map)
factory

Properties

area String?
Server region of a player in a game.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
openId String?
OpenId of a player in a game. A user has different OpenIds across apps. If you use an OpenId to identify a user, the same Huawei ID may be identified as different users in your apps.
getter/setter pair
playerId String?
ID of a player in a game.
getter/setter pair
rank String?
Level of a player in a game.
getter/setter pair
role String?
Role of a player in a game.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
society String?
Guild information of a player in a game.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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