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();
        }
Esempio n. 2
0
 public virtual async ETTask ObjectGetRequestHandler(Scene scene, ObjectGetRequest request, ObjectGetResponse response, Action reply)
 {
 }