public override async ETTask ObjectGetRequestHandler(Scene scene, ObjectGetRequest request, ObjectGetResponse response, Action reply) { long instanceId = await scene.GetComponent <LocationComponent>().Get(request.Key); if (instanceId == 0) { response.Error = ErrorCode.ERR_ActorLocationNotFound; } response.InstanceId = instanceId; reply(); }
public virtual async ETTask ObjectGetRequestHandler(Scene scene, ObjectGetRequest request, ObjectGetResponse response, Action reply) { }