Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractPlugin - Class in cn.leancloud.play.plugin
 
AbstractPlugin(BoundRoom) - Constructor for class cn.leancloud.play.plugin.AbstractPlugin
 
AbstractRequest - Class in cn.leancloud.play.plugin.request
 
Actor - Interface in cn.leancloud.play.plugin
每一个加入房间的玩家都是一个 Actor,本接口用于获取 Actor 在房间内的信息
add(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
add(int, Object) - Method in class cn.leancloud.play.collection.PlayArray
 
add(Set<String>) - Static method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
在现有房间邀请好友列表上增加新的待邀请好友。比如房间现有好友 ["a", "b", "c"], 参数为 ["c", "d"],执行后房间邀请好友列表结果为 ["a", "b", "c", "d"]
addAll(Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
addAll(int, Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
addAllListValue(Iterable<? extends GenericCollectionValue>) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
addAllMapEntryValue(Iterable<? extends GenericCollection.MapEntry>) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
addListValue(GenericCollectionValue) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
addListValue(int, GenericCollectionValue) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
addListValue(GenericCollectionValue.Builder) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
addListValue(int, GenericCollectionValue.Builder) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
addListValueBuilder() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
addListValueBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
addMapEntryValue(GenericCollection.MapEntry) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
addMapEntryValue(int, GenericCollection.MapEntry) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
addMapEntryValue(GenericCollection.MapEntry.Builder) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
addMapEntryValue(int, GenericCollection.MapEntry.Builder) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
addMapEntryValueBuilder() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
addMapEntryValueBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
ARRAY_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
ARRAY = 12;

B

BeforeJoinRoomContext - Class in cn.leancloud.play.plugin.context
 
BeforeJoinRoomContext(JoinRoomRequest, CompletableFuture<HookResponse<JoinRoomRequest>>) - Constructor for class cn.leancloud.play.plugin.context.BeforeJoinRoomContext
 
BeforeLeaveRoomContext - Class in cn.leancloud.play.plugin.context
 
BeforeLeaveRoomContext(LeaveRoomRequest, CompletableFuture<HookResponse<LeaveRoomRequest>>) - Constructor for class cn.leancloud.play.plugin.context.BeforeLeaveRoomContext
 
BeforeSendEventContext - Class in cn.leancloud.play.plugin.context
 
BeforeSendEventContext(SendEventRequest, CompletableFuture<HookResponse<SendEventRequest>>) - Constructor for class cn.leancloud.play.plugin.context.BeforeSendEventContext
 
BeforeSetPlayerPropertiesContext - Class in cn.leancloud.play.plugin.context
 
BeforeSetPlayerPropertiesContext(SetPlayerPropertiesRequest, CompletableFuture<HookResponse<SetPlayerPropertiesRequest>>) - Constructor for class cn.leancloud.play.plugin.context.BeforeSetPlayerPropertiesContext
 
BeforeSetRoomPropertiesContext - Class in cn.leancloud.play.plugin.context
 
BeforeSetRoomPropertiesContext(SetRoomPropertiesRequest, CompletableFuture<HookResponse<SetRoomPropertiesRequest>>) - Constructor for class cn.leancloud.play.plugin.context.BeforeSetRoomPropertiesContext
 
BeforeSetRoomSystemPropertiesContext - Class in cn.leancloud.play.plugin.context
 
BeforeSetRoomSystemPropertiesContext(SetRoomSystemPropertiesRequest, CompletableFuture<HookResponse<SetRoomSystemPropertiesRequest>>) - Constructor for class cn.leancloud.play.plugin.context.BeforeSetRoomSystemPropertiesContext
 
BOOL_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
BOOL = 6;
BOOL_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 
BoundRoom - Interface in cn.leancloud.play.plugin
与 Plugin 绑定的房间实例,用于获取房间信息以及对房间进行操作。
build() - Method in interface cn.leancloud.play.Builder
 
build() - Method in class cn.leancloud.play.plugin.request.SendEventOptions.SendEventOptionsBuilder
 
build() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
build() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
build() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
Builder<T> - Interface in cn.leancloud.play
 
builder() - Static method in class cn.leancloud.play.plugin.request.SendEventOptions
创建 SendEventOptions 的 Builder
buildPartial() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
buildPartial() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
buildPartial() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
byMaster() - Method in class cn.leancloud.play.plugin.request.LeaveRoomRequest
玩家是否因为被 Master 踢出房间
BYTE_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
BYTE = 2;
BYTES_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
BYTES = 1;
BYTES_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 

C

CacheOption - Enum in cn.leancloud.play.plugin.request
事件缓存选项
cast(Object, Class<T>) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToBoolean(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToByte(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToBytes(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToChar(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToDouble(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToFloat(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToInt(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToLong(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToPlayArray(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToPlayObject(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToShort(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
castToString(Object) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
CastTypeException - Exception in cn.leancloud.play.codec
 
CastTypeException() - Constructor for exception cn.leancloud.play.codec.CastTypeException
 
CastTypeException(String) - Constructor for exception cn.leancloud.play.codec.CastTypeException
 
CastTypeException(String, Throwable) - Constructor for exception cn.leancloud.play.codec.CastTypeException
 
CastTypeUtils - Class in cn.leancloud.play.codec
 
CastTypeUtils() - Constructor for class cn.leancloud.play.codec.CastTypeUtils
 
clear() - Method in class cn.leancloud.play.collection.PlayArray
 
clear() - Method in class cn.leancloud.play.collection.PlayObject
 
clear() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
clear() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
clear() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
clearBoolValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional bool bool_value = 4;
clearBytesValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional bytes bytes_value = 6;
clearDoubleValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional double double_value = 8;
clearField(Descriptors.FieldDescriptor) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
clearFloatValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional float float_value = 7;
clearIntValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int32 int_value = 2;
clearKey() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional string key = 1;
clearListValue() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
clearLongIntValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int64 long_int_value = 3;
clearMapEntryValue() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
clearObjectTypeId() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int32 object_type_id = 9;
clearOneof(Descriptors.OneofDescriptor) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
clearStringValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional string string_value = 5;
clearType() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
clearVal() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
clearValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
clone() - Method in class cn.leancloud.play.collection.PlayArray
 
clone() - Method in class cn.leancloud.play.collection.PlayObject
 
clone() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
clone() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
clone() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
cn.leancloud.play - package cn.leancloud.play
 
cn.leancloud.play.codec - package cn.leancloud.play.codec
 
cn.leancloud.play.collection - package cn.leancloud.play.collection
 
cn.leancloud.play.plugin - package cn.leancloud.play.plugin
 
cn.leancloud.play.plugin.context - package cn.leancloud.play.plugin.context
 
cn.leancloud.play.plugin.request - package cn.leancloud.play.plugin.request
 
cn.leancloud.play.proto - package cn.leancloud.play.proto
 
cn.leancloud.play.utils - package cn.leancloud.play.utils
 
Codec - Interface in cn.leancloud.play.codec
 
CodecsManager - Class in cn.leancloud.play.codec
 
CodecsManager() - Constructor for class cn.leancloud.play.codec.CodecsManager
 
contains(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
containsAll(Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
containsKey(Object) - Method in class cn.leancloud.play.collection.PlayObject
 
containsValue(Object) - Method in class cn.leancloud.play.collection.PlayObject
 
Context<T extends RoomRequest> - Interface in cn.leancloud.play.plugin.context
每个 Hook 被调用时都会传入一个 Context。Context 内封装着 Hook 的名称、触发 Hook 调用的玩家 请求参数,以及当前 Hook 请求的处理状态。Hook 处理结果也是通过 Context 通知给 Game Server。可以将 Context 当做 Hook 与 Game Server 之间通信、交互的桥梁。
ContextStatus - Enum in cn.leancloud.play.plugin.context
Hook Context 状态
continueProcess() - Method in interface cn.leancloud.play.plugin.context.Context
同意本次请求,Game Server 会执行 Hook 之后的操作
create(BoundRoom, String, Map<String, Object>) - Method in interface cn.leancloud.play.plugin.PluginFactory
创建 Hook 工厂
CreateRoomContext - Class in cn.leancloud.play.plugin.context
 
CreateRoomContext(CreateRoomRequest, CompletableFuture<HookResponse<CreateRoomRequest>>) - Constructor for class cn.leancloud.play.plugin.context.CreateRoomContext
 
CreateRoomRequest - Class in cn.leancloud.play.plugin.request
 
CreateRoomRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.CreateRoomRequest
 

D

debug(String) - Static method in class cn.leancloud.play.utils.Log
 
debug(String, Object) - Static method in class cn.leancloud.play.utils.Log
 
debug(String, Object, Object) - Static method in class cn.leancloud.play.utils.Log
 
debug(String, Object...) - Static method in class cn.leancloud.play.utils.Log
 
debug(String, Throwable) - Static method in class cn.leancloud.play.utils.Log
 
defer(T) - Static method in class cn.leancloud.play.plugin.HookResponse
 
DeferableContext<T extends RoomRequest> - Interface in cn.leancloud.play.plugin.context
 
deferProcess() - Method in interface cn.leancloud.play.plugin.context.DeferableContext
延迟处理本次请求
DeserializationException - Exception in cn.leancloud.play.codec
 
DeserializationException() - Constructor for exception cn.leancloud.play.codec.DeserializationException
 
DeserializationException(String) - Constructor for exception cn.leancloud.play.codec.DeserializationException
 
DeserializationException(String, Throwable) - Constructor for exception cn.leancloud.play.codec.DeserializationException
 
deserialize(byte[]) - Method in interface cn.leancloud.play.codec.Codec
将一个字节数组反序列化为一个对象
deserialize(byte[], Class<T>) - Static method in class cn.leancloud.play.codec.CodecsManager
 
deserialize(byte[]) - Method in class cn.leancloud.play.codec.ListCodec
 
deserialize(byte[]) - Method in class cn.leancloud.play.codec.PlayObjectCodec
 
DestroyRoomContext - Class in cn.leancloud.play.plugin.context
 
DestroyRoomContext(DestroyRoomRequest, CompletableFuture<HookResponse<DestroyRoomRequest>>) - Constructor for class cn.leancloud.play.plugin.context.DestroyRoomContext
 
DestroyRoomRequest - Class in cn.leancloud.play.plugin.request
 
DestroyRoomRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.DestroyRoomRequest
 
DoNothingPlugin - Class in cn.leancloud.play.plugin
什么都不做的 Plugin
DoNothingPlugin(BoundRoom) - Constructor for class cn.leancloud.play.plugin.DoNothingPlugin
 
DOUBLE_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
DOUBLE = 8;
DOUBLE_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 
drop() - Static method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
清空现有房间邀请好友列表。比如房间现有好友 ["a", "b", "c"],执行后房间邀请好友列 表结果为 [ ]

E

EMPTY_ARRAY - Static variable in class cn.leancloud.play.collection.PlayArray
 
EMPTY_OBJECT - Static variable in class cn.leancloud.play.collection.PlayObject
 
EMPTY_REASON - Static variable in class cn.leancloud.play.plugin.Reason
 
emptyOption - Static variable in class cn.leancloud.play.plugin.request.SendEventOptions
空 option
entrySet() - Method in class cn.leancloud.play.collection.PlayObject
 
equals(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
equals(Object) - Method in class cn.leancloud.play.collection.PlayObject
 
equals(Object) - Method in class cn.leancloud.play.plugin.request.AbstractRequest
 
equals(Object) - Method in class cn.leancloud.play.proto.GenericCollection
 
equals(Object) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
equals(Object) - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
error(String) - Static method in class cn.leancloud.play.utils.Log
 
error(String, Object) - Static method in class cn.leancloud.play.utils.Log
 
error(String, Object, Object) - Static method in class cn.leancloud.play.utils.Log
 
error(String, Object...) - Static method in class cn.leancloud.play.utils.Log
 
error(String, Throwable) - Static method in class cn.leancloud.play.utils.Log
 
exposeRoom() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
暴露房间。设置后所有玩家都能在大厅上查看、自动匹配到本房间

F

FLOAT_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
FLOAT = 7;
FLOAT_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 
fluentAdd(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentAdd(int, Object) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentAddAll(Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentAddAll(int, Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentClear() - Method in class cn.leancloud.play.collection.PlayArray
 
fluentClear() - Method in class cn.leancloud.play.collection.PlayObject
 
fluentPut(String, Object) - Method in class cn.leancloud.play.collection.PlayObject
 
fluentPutAll(Map<? extends String, ?>) - Method in class cn.leancloud.play.collection.PlayObject
 
fluentRemove(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentRemove(int) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentRemove(Object) - Method in class cn.leancloud.play.collection.PlayObject
 
fluentRemoveAll(Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentRetainAll(Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
fluentSet(int, Object) - Method in class cn.leancloud.play.collection.PlayArray
 
forNumber(int) - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
 
forNumber(int) - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.ValueCase
 

G

GenericCollection - Class in cn.leancloud.play.proto
Protobuf type cn.leancloud.play.proto.GenericCollection
GenericCollection.Builder - Class in cn.leancloud.play.proto
Protobuf type cn.leancloud.play.proto.GenericCollection
GenericCollection.MapEntry - Class in cn.leancloud.play.proto
Protobuf type cn.leancloud.play.proto.GenericCollection.MapEntry
GenericCollection.MapEntry.Builder - Class in cn.leancloud.play.proto
Protobuf type cn.leancloud.play.proto.GenericCollection.MapEntry
GenericCollection.MapEntryOrBuilder - Interface in cn.leancloud.play.proto
 
GenericCollectionOrBuilder - Interface in cn.leancloud.play.proto
 
GenericCollectionOuterClass - Class in cn.leancloud.play.proto
 
GenericCollectionValue - Class in cn.leancloud.play.proto
Protobuf type cn.leancloud.play.proto.GenericCollectionValue
GenericCollectionValue.Builder - Class in cn.leancloud.play.proto
Protobuf type cn.leancloud.play.proto.GenericCollectionValue
GenericCollectionValue.Type - Enum in cn.leancloud.play.proto
Protobuf enum cn.leancloud.play.proto.GenericCollectionValue.Type
GenericCollectionValue.ValueCase - Enum in cn.leancloud.play.proto
 
GenericCollectionValueOrBuilder - Interface in cn.leancloud.play.proto
 
get(int) - Method in class cn.leancloud.play.collection.PlayArray
 
get(Object) - Method in class cn.leancloud.play.collection.PlayObject
 
getActorByActorId(int) - Method in interface cn.leancloud.play.plugin.BoundRoom
根据 Actor Id 获取房间玩家 Actor 实例
getActorByActorIds(List<Integer>) - Method in interface cn.leancloud.play.plugin.BoundRoom
根据 Actor Id 获取房间玩家列表
getActorByUserId(String) - Method in interface cn.leancloud.play.plugin.BoundRoom
根据 User Id 获取房间玩家 Actor 实例
getActorId() - Method in interface cn.leancloud.play.plugin.Actor
获取玩家 Actor Id
getAllActors() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取房间所有玩家列表。
getAllInternalParameters() - Method in class cn.leancloud.play.plugin.request.AbstractRequest
 
getAllInternalParameters() - Method in interface cn.leancloud.play.plugin.request.RoomRequest
Game Server 使用的用于获取所有请求参数的方法,返回结果为不可变 Map。Plugin 实现者无需关心该方法也请勿使用它。
getAppCode() - Method in class cn.leancloud.play.plugin.Reason
获取 Hook 实现者定义的 appCode
getBoolean(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getBoolean(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getBooleanValue(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getBooleanValue(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getBoolValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional bool bool_value = 4;
getBoolValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional bool bool_value = 4;
getBoolValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional bool bool_value = 4;
getBoundRoom() - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
getBoundRoom() - Method in interface cn.leancloud.play.plugin.Plugin
获取与当前 Game Hook 绑定的 Room 实例
getByte(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getByte(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getBytes(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getBytes(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getBytesValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional bytes bytes_value = 6;
getBytesValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional bytes bytes_value = 6;
getBytesValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional bytes bytes_value = 6;
getByteValue(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getByteValue(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getCacheOption() - Method in class cn.leancloud.play.plugin.request.SendEventOptions
获取发送事件带着缓存方式选项
getCacheOption() - Method in class cn.leancloud.play.plugin.request.SendEventRequest
获取事件缓存选项
getCode() - Method in enum cn.leancloud.play.plugin.context.ContextStatus
 
getCode() - Method in enum cn.leancloud.play.plugin.request.CacheOption
 
getCode() - Method in enum cn.leancloud.play.plugin.request.ReceiverGroup
 
getCustomRoomProperties() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取房间自定义属性。修改返回的属性无法实际修改房间属性,请使用 BoundRoom.updateRoomProperty(cn.leancloud.play.collection.PlayObject) 修改房间属性。
getCustomRoomProperties() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
获取房间自定义属性
getCustomRoomPropertyKeysForLobby() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取用于房间匹配的房间自定义属性键。不在本列表内的房间自定义属性不会用来做房间匹配
getCustomRoomPropertyKeysForLobby() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
获取用于房间匹配的房间自定义属性键。不在本列表内的房间自定义属性不会用来做房间匹配
getDefaultInstance() - Static method in class cn.leancloud.play.proto.GenericCollection
 
getDefaultInstance() - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
getDefaultInstance() - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
getDefaultInstanceForType() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
getDefaultInstanceForType() - Method in class cn.leancloud.play.proto.GenericCollection
 
getDefaultInstanceForType() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
getDefaultInstanceForType() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
getDefaultInstanceForType() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
getDefaultInstanceForType() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
getDescriptor() - Static method in class cn.leancloud.play.proto.GenericCollection.Builder
 
getDescriptor() - Static method in class cn.leancloud.play.proto.GenericCollection
 
getDescriptor() - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
getDescriptor() - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
getDescriptor() - Static method in class cn.leancloud.play.proto.GenericCollectionOuterClass
 
getDescriptor() - Static method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
getDescriptor() - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
getDescriptor() - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
 
getDescriptorForType() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
getDescriptorForType() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
getDescriptorForType() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
getDescriptorForType() - Method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
 
getDouble(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getDouble(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getDoubleValue(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getDoubleValue(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getDoubleValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional double double_value = 8;
getDoubleValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional double double_value = 8;
getDoubleValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional double double_value = 8;
getEmptyRoomTtlSecs() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取没玩家在本房间时本房间最大保留时长
getEmptyRoomTtlSecs() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
获取空房间保留时间,默认为 0 表示房间内玩家全部离开后,房间会立即被销毁
getEventData() - Method in class cn.leancloud.play.plugin.request.SendEventRequest
获取事件内容
getEventId() - Method in class cn.leancloud.play.plugin.request.SendEventRequest
获取事件自定义 Id
getExpectedUserIds() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取房间指定的玩家 ID 列表。这个参数主要用于为某些能加入到房间中的特定玩家「占位」。
getExpectedUserIds() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
获取房间指定的玩家 ID 列表。这个参数主要用于为某些能加入到房间中的特定玩家「占位」。
getExpectedUserIds() - Method in class cn.leancloud.play.plugin.request.JoinRoomRequest
获取请求中用于「占位」的玩家 ID 列表。
getExpectedUserIdsProperty() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
获取请求内是否设置邀请好友属性。
getExpectedValues() - Method in class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
获取 CAS 操作用于匹配的玩家自定义属性。设置了用于匹配的自定义属性后,只有当玩家在房间内属性符合 匹配的值后更新玩家属性操作才会生效。
getExpectedValues() - Method in class cn.leancloud.play.plugin.request.SetRoomPropertiesRequest
获取 CAS 操作用于匹配的房间自定义属性。设置了用于匹配的自定义属性后,只有当房间自定义属性符合 匹配的值后更新房间自定义属性操作才会生效。
getExposeRoomProperty() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
获取请求内是否设置房间可见性属性。房间默认为可见状态,如果房间不可见则表示新用户不能通过在大厅自动匹配房间方式加入房间。
getFloat(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getFloat(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getFloatValue(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getFloatValue(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getFloatValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional float float_value = 7;
getFloatValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional float float_value = 7;
getFloatValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional float float_value = 7;
getFromActorId() - Method in class cn.leancloud.play.plugin.request.LeaveRoomRequest
获取发起离开房间操作的 Actor Id。如果是某 Actor 自己要离开房间,则返回 待离开房间 Actor 的 Id。如果是某 Actor 被踢,则这里获取的是发起踢人操作 的 Actor 的 Id。
getFromActorId() - Method in class cn.leancloud.play.plugin.request.SendEventRequest
获取事件发送者 Actor Id
getHookName() - Method in class cn.leancloud.play.plugin.context.BeforeJoinRoomContext
 
getHookName() - Method in class cn.leancloud.play.plugin.context.BeforeLeaveRoomContext
 
getHookName() - Method in class cn.leancloud.play.plugin.context.BeforeSendEventContext
 
getHookName() - Method in class cn.leancloud.play.plugin.context.BeforeSetPlayerPropertiesContext
 
getHookName() - Method in class cn.leancloud.play.plugin.context.BeforeSetRoomPropertiesContext
 
getHookName() - Method in class cn.leancloud.play.plugin.context.BeforeSetRoomSystemPropertiesContext
 
getHookName() - Method in interface cn.leancloud.play.plugin.context.Context
获取当前 Context 所属 Hook 名称
getHookName() - Method in class cn.leancloud.play.plugin.context.CreateRoomContext
 
getHookName() - Method in class cn.leancloud.play.plugin.context.DestroyRoomContext
 
getInnerList() - Method in class cn.leancloud.play.collection.PlayArray
 
getInnerMap() - Method in class cn.leancloud.play.collection.PlayObject
 
getInteger(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getInteger(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getIntValue(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getIntValue(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getIntValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int32 int_value = 2;
getIntValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional int32 int_value = 2;
getIntValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional int32 int_value = 2;
getKey() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional string key = 1;
getKey() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
optional string key = 1;
getKey() - Method in interface cn.leancloud.play.proto.GenericCollection.MapEntryOrBuilder
optional string key = 1;
getKeyBytes() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional string key = 1;
getKeyBytes() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
optional string key = 1;
getKeyBytes() - Method in interface cn.leancloud.play.proto.GenericCollection.MapEntryOrBuilder
optional string key = 1;
getLeaveRoomReason() - Method in class cn.leancloud.play.plugin.request.LeaveRoomRequest
获取自定义离开房间原因,只有在踢人场景下发起踢人请求一方可以提供踢人原因,Actor 自 己主动离开房间或因为断线而离开房间时不提供原因。
getListValue(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValue(int) - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValue(int) - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueBuilderList() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueCount() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueCount() - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueCount() - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueList() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueList() - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueList() - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueOrBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueOrBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueOrBuilder(int) - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueOrBuilderList() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueOrBuilderList() - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getListValueOrBuilderList() - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
getLong(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getLong(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getLongIntValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int64 long_int_value = 3;
getLongIntValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional int64 long_int_value = 3;
getLongIntValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional int64 long_int_value = 3;
getLongValue(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getLongValue(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getMapEntryValue(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValue(int) - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValue(int) - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueBuilderList() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueCount() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueCount() - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueCount() - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueList() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueList() - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueList() - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueOrBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueOrBuilder(int) - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueOrBuilder(int) - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueOrBuilderList() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueOrBuilderList() - Method in class cn.leancloud.play.proto.GenericCollection
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMapEntryValueOrBuilderList() - Method in interface cn.leancloud.play.proto.GenericCollectionOrBuilder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
getMaster() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取房间 Master 玩家的 Actor 实例
getMatchProperties() - Method in class cn.leancloud.play.plugin.request.JoinRoomRequest
获取匹配房间条件。传递该参数表示只有待加入房间自定义属性满足匹配条件时才能加入房间
getMaxPlayerCount() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取房间最大玩家数量限制
getMaxPlayerCount() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
获取最大房间人数参数
getMaxPlayerCountProperty() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
获取请求内是否设置房间最大玩家数量属性。
getMessage() - Method in class cn.leancloud.play.plugin.Reason
获取 Hook 实现者自定义的 Message 信息
getNumber() - Method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
 
getNumber() - Method in enum cn.leancloud.play.proto.GenericCollectionValue.ValueCase
 
getObject(int, Class<T>) - Method in class cn.leancloud.play.collection.PlayArray
 
getObject(String, Class<T>) - Method in class cn.leancloud.play.collection.PlayObject
 
getObjectTypeId() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int32 object_type_id = 9;
getObjectTypeId() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional int32 object_type_id = 9;
getObjectTypeId() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional int32 object_type_id = 9;
getOpenRoomProperty() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
获取请求内是否设置房间开闭属性。房间默认为开放状态,如果房间关闭则表示不能有新用户加入房间。
getOperator() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
获取邀请好友列表操作数,可以是 ADD,REMOVE,SET,DROP 之一。
getParserForType() - Method in class cn.leancloud.play.proto.GenericCollection
 
getParserForType() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
getParserForType() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
getPlayArray(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getPlayArray(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getPlayerCustomRoomProperties() - Method in class cn.leancloud.play.plugin.request.JoinRoomRequest
获取房间玩家自定义属性
getPlayerTtlSecs() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取玩家允许的最大离线时间,默认为 0 表示玩家一旦断线就自动从房间离开
getPlayerTtlSecs() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
获取玩家允许的最大离线时间,默认为 0 表示玩家一旦断线就自动从房间离开
getPlayObject(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getPlayObject(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getProperties() - Method in interface cn.leancloud.play.plugin.Actor
获取玩家在房间内的自定义属性。修改返回的属性无法实际修改玩家属性,请使用 BoundRoom.updatePlayerProperty(int, cn.leancloud.play.collection.PlayObject) 修改玩家属性。
getProperties() - Method in class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
获取房间玩家自定义属性
getProperties() - Method in class cn.leancloud.play.plugin.request.SetRoomPropertiesRequest
获取房间自定义属性
getPropertyKey() - Method in interface cn.leancloud.play.plugin.request.RoomSystemProperty
房间属性 Key,Game Server 使用,Game Plugin 实现者无需使用
getPropertyKey() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
 
getPropertyKey() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExposeRoomProperty
 
getPropertyKey() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.MaxPlayerCountProperty
 
getPropertyKey() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.OpenRoomProperty
 
getPropertyValueToSet() - Method in interface cn.leancloud.play.plugin.request.RoomSystemProperty
房间属性值
getPropertyValueToSet() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
 
getPropertyValueToSet() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExposeRoomProperty
 
getPropertyValueToSet() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.MaxPlayerCountProperty
 
getPropertyValueToSet() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.OpenRoomProperty
 
getReason() - Method in class cn.leancloud.play.plugin.HookResponse
 
getReceiverGroup() - Method in class cn.leancloud.play.plugin.request.SendEventRequest
获取事件目标接收组
getRequest() - Method in interface cn.leancloud.play.plugin.context.Context
获取与当前 Context 绑定的 Hook 请求参数实例
getRequest() - Method in class cn.leancloud.play.plugin.HookResponse
 
getRoomName() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取房间名称
getRoomName() - Method in class cn.leancloud.play.plugin.request.AbstractRequest
 
getRoomName() - Method in interface cn.leancloud.play.plugin.request.RoomRequest
获取本次请求所属的房间名
getScheduler() - Method in interface cn.leancloud.play.plugin.BoundRoom
获取一个 ScheduledExecutorService 用于将某个任务交给与当前房间绑定的线程来执行。在该线程上能保证任务运行期间,房间 属性不会发生变化,但需要任务尽快执行完以避免过长时间的阻塞线程。
getSerializedPropertyValue() - Method in interface cn.leancloud.play.plugin.request.RoomSystemProperty
Game Server 内使用的房间属性值,Game Plugin 实现者无需使用
getSerializedPropertyValue() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
 
getSerializedSize() - Method in class cn.leancloud.play.proto.GenericCollection
 
getSerializedSize() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
getSerializedSize() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
getShort(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getShort(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getShortValue(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getShortValue(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getStatus() - Method in interface cn.leancloud.play.plugin.context.Context
获取当前 Context 状态
getStatus() - Method in class cn.leancloud.play.plugin.HookResponse
 
getString(int) - Method in class cn.leancloud.play.collection.PlayArray
 
getString(String) - Method in class cn.leancloud.play.collection.PlayObject
 
getStringValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional string string_value = 5;
getStringValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional string string_value = 5;
getStringValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional string string_value = 5;
getStringValueBytes() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional string string_value = 5;
getStringValueBytes() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional string string_value = 5;
getStringValueBytes() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional string string_value = 5;
getTargetActorId() - Method in class cn.leancloud.play.plugin.request.LeaveRoomRequest
获取将要离开本房间的 Actor Id。如果是某 Actor 自己要离开房间,则返回 待离开房间 Actor 的 Id。如果是某 Actor 被踢,则这里获取的是被踢 Actor 的 Id。
getTargetActorId() - Method in class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
获取修改自定义属性的目标玩家 Actor Id
getTargetActorIds() - Method in class cn.leancloud.play.plugin.request.SendEventRequest
获取事件目标接收玩家 Actor Id 列表
getType() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
getType() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
getType() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
getTypeValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
getTypeValue() - Method in class cn.leancloud.play.proto.GenericCollectionValue
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
getTypeValue() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
getUnknownFields() - Method in class cn.leancloud.play.proto.GenericCollection
 
getUnknownFields() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
getUnknownFields() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
getUserId() - Method in interface cn.leancloud.play.plugin.Actor
获取玩家 User Id
getUserId() - Method in class cn.leancloud.play.plugin.request.AbstractRequest
 
getUserId() - Method in class cn.leancloud.play.plugin.request.DestroyRoomRequest
 
getUserId() - Method in interface cn.leancloud.play.plugin.request.RoomRequest
获取触发本次请求的玩家 User Id
getVal() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
getVal() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
getVal() - Method in interface cn.leancloud.play.proto.GenericCollection.MapEntryOrBuilder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
getValBuilder() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
getValOrBuilder() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
getValOrBuilder() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
getValOrBuilder() - Method in interface cn.leancloud.play.proto.GenericCollection.MapEntryOrBuilder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
getValueCase() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
getValueCase() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
getValueCase() - Method in interface cn.leancloud.play.proto.GenericCollectionValueOrBuilder
 
getValueDescriptor() - Method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
 

H

hashCode() - Method in class cn.leancloud.play.collection.PlayArray
 
hashCode() - Method in class cn.leancloud.play.collection.PlayObject
 
hashCode() - Method in class cn.leancloud.play.plugin.request.AbstractRequest
 
hashCode() - Method in class cn.leancloud.play.proto.GenericCollection
 
hashCode() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
hashCode() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
hasVal() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
hasVal() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
hasVal() - Method in interface cn.leancloud.play.proto.GenericCollection.MapEntryOrBuilder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
hideRoom() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
隐藏房间。设置后只能通过房间名称加入本房间
HookResponse<T extends RoomRequest> - Class in cn.leancloud.play.plugin
 

I

indexOf(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
info(String) - Static method in class cn.leancloud.play.utils.Log
 
info(String, Object) - Static method in class cn.leancloud.play.utils.Log
 
info(String, Object, Object) - Static method in class cn.leancloud.play.utils.Log
 
info(String, Object...) - Static method in class cn.leancloud.play.utils.Log
 
info(String, Throwable) - Static method in class cn.leancloud.play.utils.Log
 
INT_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
INT = 4;
INT_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 
internalGetFieldAccessorTable() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
internalGetFieldAccessorTable() - Method in class cn.leancloud.play.proto.GenericCollection
 
internalGetFieldAccessorTable() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
internalGetFieldAccessorTable() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
internalGetFieldAccessorTable() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
internalGetFieldAccessorTable() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
internalGetValueMap() - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
 
isDebugEnabled() - Static method in class cn.leancloud.play.utils.Log
 
isEmpty() - Method in class cn.leancloud.play.collection.PlayArray
 
isEmpty() - Method in class cn.leancloud.play.collection.PlayObject
 
isErrorEnabled() - Static method in class cn.leancloud.play.utils.Log
 
isInfoEnabled() - Static method in class cn.leancloud.play.utils.Log
 
isInitialized() - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
isInitialized() - Method in class cn.leancloud.play.proto.GenericCollection
 
isInitialized() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
isInitialized() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
isInitialized() - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
isInitialized() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
isNumber(String) - Static method in class cn.leancloud.play.codec.CastTypeUtils
 
isOpen() - Method in interface cn.leancloud.play.plugin.BoundRoom
房间是否关闭。关闭后房间不允许新玩家加入
isProcessed() - Method in interface cn.leancloud.play.plugin.context.Context
当前 Hook 请求是否已经被处理过,即状态为 CONTINUED, SKIPPED, REJECTED
isRejoin() - Method in class cn.leancloud.play.plugin.request.JoinRoomRequest
是否是再次加入房间,即玩家之前在房间中,之后因断线而离开房间,此时再次重加入回原来所在房间
isTraceEnabled() - Static method in class cn.leancloud.play.utils.Log
 
isVisible() - Method in interface cn.leancloud.play.plugin.BoundRoom
房间是否可见。默认为可见,即所有玩家都能在大厅上查看、自动匹配到本房间
isVisible() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
房间是否可见。默认为可见,即所有玩家都能在大厅上查看、自动匹配到本房间
isWarnEnabled() - Static method in class cn.leancloud.play.utils.Log
 
iterator() - Method in class cn.leancloud.play.collection.PlayArray
 

J

JoinRoomRequest - Class in cn.leancloud.play.plugin.request
 
JoinRoomRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.JoinRoomRequest
 

K

KEY_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
keySet() - Method in class cn.leancloud.play.collection.PlayObject
 

L

lastIndexOf(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
LeaveRoomRequest - Class in cn.leancloud.play.plugin.request
 
LeaveRoomRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.LeaveRoomRequest
 
LIST_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollection
 
ListCodec - Class in cn.leancloud.play.codec
 
ListCodec() - Constructor for class cn.leancloud.play.codec.ListCodec
 
listIterator() - Method in class cn.leancloud.play.collection.PlayArray
 
listIterator(int) - Method in class cn.leancloud.play.collection.PlayArray
 
Log - Class in cn.leancloud.play.utils
 
Log() - Constructor for class cn.leancloud.play.utils.Log
 
LONG_INT_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 
LONG_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
LONG = 5;

M

MAP_ENTRY_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollection
 
MAP_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
MAP = 11;
mergeFrom(Message) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
mergeFrom(GenericCollection) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
mergeFrom(Message) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
mergeFrom(GenericCollection.MapEntry) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
mergeFrom(Message) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
mergeFrom(GenericCollectionValue) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
mergeVal(GenericCollectionValue) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;

N

newBuilder() - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
newBuilder(GenericCollection.MapEntry) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
newBuilder() - Static method in class cn.leancloud.play.proto.GenericCollection
 
newBuilder(GenericCollection) - Static method in class cn.leancloud.play.proto.GenericCollection
 
newBuilder() - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
newBuilder(GenericCollectionValue) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
newBuilderForType() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
newBuilderForType() - Method in class cn.leancloud.play.proto.GenericCollection
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class cn.leancloud.play.proto.GenericCollection
 
newBuilderForType() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
NULL_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
NULL = 0;

O

OBJECT_TYPE_ID_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 
OBJECT_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
OBJECT = 9;
of(int) - Static method in class cn.leancloud.play.plugin.Reason
创建带自定义 appCode 的 Reason。appCode 为 Hook 实现者自定义的 code,比如可以用于在 Hook 拒绝某玩家的 请求等时候,通过发送 Reason 给玩家让玩家知道请求为什么被拒绝
of(int, String) - Static method in class cn.leancloud.play.plugin.Reason
创建带自定义 appCode 和 Message 的 Reason。appCode 和 Message 均为 Hook 实现者自定义实现。比如可以用于 在 Hook 拒绝某玩家的请求等时候,通过发送 Reason 给玩家让玩家知道请求为什么被拒绝
of(byte) - Static method in enum cn.leancloud.play.plugin.request.CacheOption
 
of(byte) - Static method in enum cn.leancloud.play.plugin.request.ReceiverGroup
 
onBeforeJoinRoom(BeforeJoinRoomContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onBeforeJoinRoom(BeforeJoinRoomContext) - Method in interface cn.leancloud.play.plugin.Plugin
加入房间前调用
onBeforeLeaveRoom(BeforeLeaveRoomContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onBeforeLeaveRoom(BeforeLeaveRoomContext) - Method in interface cn.leancloud.play.plugin.Plugin
离开房间前调用
onBeforeSendEvent(BeforeSendEventContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onBeforeSendEvent(BeforeSendEventContext) - Method in interface cn.leancloud.play.plugin.Plugin
发送事件前调用
onBeforeSetPlayerProperties(BeforeSetPlayerPropertiesContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onBeforeSetPlayerProperties(BeforeSetPlayerPropertiesContext) - Method in interface cn.leancloud.play.plugin.Plugin
设置房间玩家自定义属性前调用
onBeforeSetRoomProperties(BeforeSetRoomPropertiesContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onBeforeSetRoomProperties(BeforeSetRoomPropertiesContext) - Method in interface cn.leancloud.play.plugin.Plugin
设置房间自定义属性前调用
onBeforeSetRoomSystemProperties(BeforeSetRoomSystemPropertiesContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onBeforeSetRoomSystemProperties(BeforeSetRoomSystemPropertiesContext) - Method in interface cn.leancloud.play.plugin.Plugin
设置房间系统属性前调用
onCreateRoom(CreateRoomContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onCreateRoom(CreateRoomContext) - Method in interface cn.leancloud.play.plugin.Plugin
创建房间前调用
onDestroyRoom(DestroyRoomContext) - Method in class cn.leancloud.play.plugin.AbstractPlugin
 
onDestroyRoom(DestroyRoomContext) - Method in interface cn.leancloud.play.plugin.Plugin
房间关闭前调用

P

parseDelimitedFrom(InputStream) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseDelimitedFrom(InputStream) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseDelimitedFrom(InputStream) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(ByteString) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(byte[]) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(InputStream) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(CodedInputStream) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parseFrom(ByteString) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(byte[]) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(InputStream) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(CodedInputStream) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollection
 
parseFrom(ByteString) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(byte[]) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(InputStream) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(CodedInputStream) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
parser() - Static method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
parser() - Static method in class cn.leancloud.play.proto.GenericCollection
 
parser() - Static method in class cn.leancloud.play.proto.GenericCollectionValue
 
PlayArray - Class in cn.leancloud.play.collection
 
PlayArray() - Constructor for class cn.leancloud.play.collection.PlayArray
 
PlayArray(List<Object>) - Constructor for class cn.leancloud.play.collection.PlayArray
 
PlayArray(int) - Constructor for class cn.leancloud.play.collection.PlayArray
 
PlayObject - Class in cn.leancloud.play.collection
 
PlayObject() - Constructor for class cn.leancloud.play.collection.PlayObject
 
PlayObject(Map<Object, Object>) - Constructor for class cn.leancloud.play.collection.PlayObject
 
PlayObject(int) - Constructor for class cn.leancloud.play.collection.PlayObject
 
PlayObjectCodec - Class in cn.leancloud.play.codec
 
PlayObjectCodec() - Constructor for class cn.leancloud.play.codec.PlayObjectCodec
 
Plugin - Interface in cn.leancloud.play.plugin
 
PluginFactory - Interface in cn.leancloud.play.plugin
 
put(String, Object) - Method in class cn.leancloud.play.collection.PlayObject
 
putAll(Map<? extends String, ?>) - Method in class cn.leancloud.play.collection.PlayObject
 

R

Reason - Class in cn.leancloud.play.plugin
 
ReceiverGroup - Enum in cn.leancloud.play.plugin.request
事件接收组
registerAllExtensions(ExtensionRegistryLite) - Static method in class cn.leancloud.play.proto.GenericCollectionOuterClass
 
registerAllExtensions(ExtensionRegistry) - Static method in class cn.leancloud.play.proto.GenericCollectionOuterClass
 
registerCodec(Class<?>, byte, Codec) - Static method in class cn.leancloud.play.codec.CodecsManager
 
reject(Reason) - Static method in class cn.leancloud.play.plugin.HookResponse
 
rejectProcess(Reason) - Method in interface cn.leancloud.play.plugin.context.Context
拒绝本次请求,并发送 Reason 信息给发送请求的玩家
rejectProcess(Reason) - Method in class cn.leancloud.play.plugin.context.DestroyRoomContext
 
remove(Object) - Method in class cn.leancloud.play.collection.PlayArray
 
remove(int) - Method in class cn.leancloud.play.collection.PlayArray
 
remove(Object) - Method in class cn.leancloud.play.collection.PlayObject
 
remove(Set<String>) - Static method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
在现有房间邀请好友列表中删除一组好友 ID。比如房间现有好友 ["a", "b", "c"], 参数为 ["c", "d"],执行后房间邀请好友列表结果为 ["a", "b"]
removeActor(int) - Method in interface cn.leancloud.play.plugin.BoundRoom
将某玩家从房间移除
removeAll(Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
removeListValue(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
removeMapEntryValue(int) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
retainAll(Collection<?>) - Method in class cn.leancloud.play.collection.PlayArray
 
RoomRequest - Interface in cn.leancloud.play.plugin.request
 
RoomSystemProperty<V> - Interface in cn.leancloud.play.plugin.request
房间系统属性接口,所有房间系统属性均会实现。

S

SendEventOptions - Class in cn.leancloud.play.plugin.request
发送事件附带选项
SendEventOptions.SendEventOptionsBuilder - Class in cn.leancloud.play.plugin.request
 
SendEventOptionsBuilder() - Constructor for class cn.leancloud.play.plugin.request.SendEventOptions.SendEventOptionsBuilder
 
SendEventRequest - Class in cn.leancloud.play.plugin.request
 
SendEventRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.SendEventRequest
 
sendEventToActors(List<Integer>, int, byte, PlayObject, SendEventOptions) - Method in interface cn.leancloud.play.plugin.BoundRoom
发送事件给目标 Actor。
sendEventToInterestGroup(byte, int, byte, PlayObject, SendEventOptions) - Method in interface cn.leancloud.play.plugin.BoundRoom
发送事件给目标接收组
sendEventToReceiverGroup(ReceiverGroup, int, byte, PlayObject, SendEventOptions) - Method in interface cn.leancloud.play.plugin.BoundRoom
发送事件给目标接收组
SerializationException - Exception in cn.leancloud.play.codec
 
SerializationException() - Constructor for exception cn.leancloud.play.codec.SerializationException
 
SerializationException(String) - Constructor for exception cn.leancloud.play.codec.SerializationException
 
SerializationException(String, Throwable) - Constructor for exception cn.leancloud.play.codec.SerializationException
 
serialize(Object) - Method in interface cn.leancloud.play.codec.Codec
将一个 Object 序列化为字节数组
serialize(Object) - Static method in class cn.leancloud.play.codec.CodecsManager
 
serialize(Object) - Method in class cn.leancloud.play.codec.ListCodec
 
serialize(Object) - Method in class cn.leancloud.play.codec.PlayObjectCodec
 
set(int, Object) - Method in class cn.leancloud.play.collection.PlayArray
 
set(Set<String>) - Static method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
用新的邀请列表替换现有房间邀请好友列表。比如房间现有好友 ["a", "b", "c"], 参数为 ["c", "d"],执行后房间邀请好友列表结果为 ["c", "d"]
set(boolean) - Static method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExposeRoomProperty
设置房间可见性属性。
set(int) - Static method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.MaxPlayerCountProperty
设置房间最大玩家数量属性。
set(boolean) - Static method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.OpenRoomProperty
设置房间开闭属性。
setBoolValue(boolean) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional bool bool_value = 4;
setBytesValue(ByteString) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional bytes bytes_value = 6;
setCacheOption(CacheOption) - Method in class cn.leancloud.play.plugin.request.SendEventRequest
设置事件缓存选项
setDoubleValue(double) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional double double_value = 8;
setEmptyRoomTtl(long, TimeUnit) - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
设置空房间保留时间,默认为 0 表示房间内玩家全部离开后,房间会立即被销毁
setEventData(PlayObject) - Method in class cn.leancloud.play.plugin.request.SendEventRequest
设置事件内容
setExpectedUserIdsProperty(SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty) - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
修改本次设置房间系统属性请求,设置房间邀请好友 ID 列表。
setExpectedValues(PlayObject) - Method in class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
设置 CAS 操作用于匹配的玩家自定义属性。设置了用于匹配的自定义属性后,只有当玩家在房间内属性符合 匹配的值后更新玩家属性操作才会生效。
setExpectedValues(PlayObject) - Method in class cn.leancloud.play.plugin.request.SetRoomPropertiesRequest
设置 CAS 操作用于匹配的房间自定义属性。设置了用于匹配的自定义属性后,只有当房间自定义属性符合 匹配的值后更新房间自定义属性操作才会生效。
setExpectUsers(List<String>) - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
设置房间指定的玩家 ID 列表。这个参数主要用于为某些能加入到房间中的特定玩家「占位」。
setExpectUsers(List<String>) - Method in class cn.leancloud.play.plugin.request.JoinRoomRequest
设置房间指定的玩家 ID 列表。这个参数主要用于为某些能加入到房间中的特定玩家「占位」。
setExposeRoomProperty(SetRoomSystemPropertiesRequest.ExposeRoomProperty) - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
修改本次设置房间系统属性请求,设置房间可见性属性。房间默认为可见状态,如果房间不可见则表示新用户不能通过在大厅 自动匹配房间方式加入房间。
setField(Descriptors.FieldDescriptor, Object) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
setFloatValue(float) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional float float_value = 7;
setIntValue(int) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int32 int_value = 2;
setKey(String) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional string key = 1;
setKeyBytes(ByteString) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional string key = 1;
setListValue(int, GenericCollectionValue) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
setListValue(int, GenericCollectionValue.Builder) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollectionValue list_value = 1;
setLobbyKeys(List<String>) - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
设置用于房间匹配的房间自定义属性键。不在本列表内的房间自定义属性不会用来做房间匹配
setLongIntValue(long) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int64 long_int_value = 3;
setMapEntryValue(int, GenericCollection.MapEntry) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
setMapEntryValue(int, GenericCollection.MapEntry.Builder) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
repeated .cn.leancloud.play.proto.GenericCollection.MapEntry map_entry_value = 2;
setMaxPlayerCount(int) - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
设置最大房间人数
setMaxPlayerCountProperty(SetRoomSystemPropertiesRequest.MaxPlayerCountProperty) - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
修改本次设置房间系统属性请求,设置房间最大玩家数量属性。房间内玩家数量达到限制后,新玩家无法再加入本房间。
setObjectTypeId(int) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional int32 object_type_id = 9;
setOpenRoomProperty(SetRoomSystemPropertiesRequest.OpenRoomProperty) - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
修改本次设置房间系统属性请求,设置房间开闭属性。房间默认为开放状态,如果房间关闭则表示不能有新用户加入房间。
setPlayerCustomRoomProperties(PlayObject) - Method in class cn.leancloud.play.plugin.request.JoinRoomRequest
设置房间玩家自定义属性
SetPlayerPropertiesRequest - Class in cn.leancloud.play.plugin.request
 
SetPlayerPropertiesRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
 
setPlayerTtl(long, TimeUnit) - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
设置玩家允许的最大离线时间,默认为 0 表示玩家一旦断线就自动从房间离开
setProperties(PlayObject) - Method in class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
设置房间玩家自定义属性
setProperties(PlayObject) - Method in class cn.leancloud.play.plugin.request.SetRoomPropertiesRequest
设置房间自定义属性
setReadOnly() - Method in class cn.leancloud.play.plugin.request.AbstractRequest
 
setReadOnly() - Method in interface cn.leancloud.play.plugin.request.RoomRequest
内部使用,设置 Read Only 后本请求不能再修改请求参数
setReceiverGroup(ReceiverGroup) - Method in class cn.leancloud.play.plugin.request.SendEventRequest
设置事件目标接收组
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
setRoomProperties(PlayObject) - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
设置房间自定义属性
SetRoomPropertiesRequest - Class in cn.leancloud.play.plugin.request
 
SetRoomPropertiesRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.SetRoomPropertiesRequest
 
SetRoomSystemPropertiesRequest - Class in cn.leancloud.play.plugin.request
 
SetRoomSystemPropertiesRequest(Map<Keyword, Object>) - Constructor for class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
 
SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty - Class in cn.leancloud.play.plugin.request
房间邀请好友列表属性。加入邀请好友列表后,相当于帮好友在房间内做了 "占位",即使房间满了好友也能加入房间。
SetRoomSystemPropertiesRequest.ExposeRoomProperty - Class in cn.leancloud.play.plugin.request
房间可见性属性。房间默认为可见状态,如果房间不可见则表示新用户不能通过在大厅自动匹配房间方式加入房间。
SetRoomSystemPropertiesRequest.MaxPlayerCountProperty - Class in cn.leancloud.play.plugin.request
房间最大玩家数量属性。房间玩家数量达到上限后则房间无法再加入新玩家。
SetRoomSystemPropertiesRequest.OpenRoomProperty - Class in cn.leancloud.play.plugin.request
房间开闭属性。房间默认为开放状态,如果房间关闭则表示不能有新用户加入房间。
SetRoomSystemPropertiesRequest.Operator - Enum in cn.leancloud.play.plugin.request
 
setStringValue(String) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional string string_value = 5;
setStringValueBytes(ByteString) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional string string_value = 5;
setTargetActorId(int) - Method in class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
设置修改自定义属性的目标玩家 Actor Id
setTargetActorIds(List<Integer>) - Method in class cn.leancloud.play.plugin.request.SendEventRequest
设置事件目标接收玩家 Actor Id 列表
setType(GenericCollectionValue.Type) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
setTypeValue(int) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue.Type type = 1;
setUnknownFields(UnknownFieldSet) - Method in class cn.leancloud.play.proto.GenericCollection.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class cn.leancloud.play.proto.GenericCollectionValue.Builder
 
setVal(GenericCollectionValue) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
setVal(GenericCollectionValue.Builder) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry.Builder
optional .cn.leancloud.play.proto.GenericCollectionValue val = 2;
SHORT_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
SHORT = 3;
size() - Method in class cn.leancloud.play.collection.PlayArray
 
size() - Method in class cn.leancloud.play.collection.PlayObject
 
skip(T) - Static method in class cn.leancloud.play.plugin.HookResponse
 
SkipableContext<T extends RoomRequest> - Interface in cn.leancloud.play.plugin.context
 
skipProcess() - Method in interface cn.leancloud.play.plugin.context.SkipableContext
拒绝本次请求,但不返回任何信息给发送请求的玩家
STRING_VALUE - Static variable in enum cn.leancloud.play.proto.GenericCollectionValue.Type
STRING = 10;
STRING_VALUE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 
subList(int, int) - Method in class cn.leancloud.play.collection.PlayArray
 
success(T) - Static method in class cn.leancloud.play.plugin.HookResponse
 

T

toArray() - Method in class cn.leancloud.play.collection.PlayArray
 
toArray(T[]) - Method in class cn.leancloud.play.collection.PlayArray
 
toBuilder() - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
toBuilder() - Method in class cn.leancloud.play.proto.GenericCollection
 
toBuilder() - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
toJavaList(Class<T>) - Method in class cn.leancloud.play.collection.PlayArray
 
toPlayArray(List<Object>) - Static method in class cn.leancloud.play.collection.PlayArray
 
toPlayObject(Map<Object, Object>) - Static method in class cn.leancloud.play.collection.PlayObject
 
toString() - Method in class cn.leancloud.play.collection.PlayArray
 
toString() - Method in class cn.leancloud.play.collection.PlayObject
 
toString() - Method in class cn.leancloud.play.plugin.Reason
 
toString() - Method in class cn.leancloud.play.plugin.request.CreateRoomRequest
 
toString() - Method in class cn.leancloud.play.plugin.request.DestroyRoomRequest
 
toString() - Method in class cn.leancloud.play.plugin.request.JoinRoomRequest
 
toString() - Method in class cn.leancloud.play.plugin.request.LeaveRoomRequest
 
toString() - Method in class cn.leancloud.play.plugin.request.SendEventRequest
 
toString() - Method in class cn.leancloud.play.plugin.request.SetPlayerPropertiesRequest
 
toString() - Method in class cn.leancloud.play.plugin.request.SetRoomPropertiesRequest
 
toString() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExpectedUserIdsProperty
 
toString() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.ExposeRoomProperty
 
toString() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.MaxPlayerCountProperty
 
toString() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.OpenRoomProperty
 
toString() - Method in class cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest
 
trace(String) - Static method in class cn.leancloud.play.utils.Log
 
trace(String, Object) - Static method in class cn.leancloud.play.utils.Log
 
trace(String, Object, Object) - Static method in class cn.leancloud.play.utils.Log
 
trace(String, Object...) - Static method in class cn.leancloud.play.utils.Log
 
trace(String, Throwable) - Static method in class cn.leancloud.play.utils.Log
 
TYPE_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollectionValue
 

U

updatePlayerProperty(int, PlayObject) - Method in interface cn.leancloud.play.plugin.BoundRoom
更改房间玩家自定义属性。
updatePlayerProperty(int, PlayObject, PlayObject) - Method in interface cn.leancloud.play.plugin.BoundRoom
更改房间玩家自定义属性
updateRoomProperty(PlayObject) - Method in interface cn.leancloud.play.plugin.BoundRoom
更改房间自定义属性
updateRoomProperty(PlayObject, PlayObject) - Method in interface cn.leancloud.play.plugin.BoundRoom
更改房间自定义属性
updateRoomSystemProperty(RoomSystemProperty<V>) - Method in interface cn.leancloud.play.plugin.BoundRoom
更改房间系统属性

V

VAL_FIELD_NUMBER - Static variable in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
valueOf(String) - Static method in enum cn.leancloud.play.plugin.context.ContextStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.leancloud.play.plugin.request.CacheOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.leancloud.play.plugin.request.ReceiverGroup
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
valueOf(Descriptors.EnumValueDescriptor) - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
 
valueOf(String) - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.ValueCase
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.ValueCase
values() - Method in class cn.leancloud.play.collection.PlayObject
 
values() - Static method in enum cn.leancloud.play.plugin.context.ContextStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.leancloud.play.plugin.request.CacheOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.leancloud.play.plugin.request.ReceiverGroup
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.leancloud.play.plugin.request.SetRoomSystemPropertiesRequest.Operator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.leancloud.play.proto.GenericCollectionValue.ValueCase
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String) - Static method in class cn.leancloud.play.utils.Log
 
warn(String, Object) - Static method in class cn.leancloud.play.utils.Log
 
warn(String, Object...) - Static method in class cn.leancloud.play.utils.Log
 
warn(String, Object, Object) - Static method in class cn.leancloud.play.utils.Log
 
warn(String, Throwable) - Static method in class cn.leancloud.play.utils.Log
 
withCacheOption(CacheOption) - Method in class cn.leancloud.play.plugin.request.SendEventOptions.SendEventOptionsBuilder
发送事件带着缓存方式选项
writeTo(CodedOutputStream) - Method in class cn.leancloud.play.proto.GenericCollection.MapEntry
 
writeTo(CodedOutputStream) - Method in class cn.leancloud.play.proto.GenericCollection
 
writeTo(CodedOutputStream) - Method in class cn.leancloud.play.proto.GenericCollectionValue
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2019 LeanCloud. All rights reserved.