public override void Dispose() { if (Debug.isDebugBuild) { DataLookupDebug.Dispose(); } m_endPoint = null; }
static StackObject *Dispose_6(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); EB.Sparx.EndPoint instance_of_this_method = (EB.Sparx.EndPoint) typeof(EB.Sparx.EndPoint).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Dispose(); return(__ret); }
static StackObject *get_Url_3(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); EB.Sparx.EndPoint instance_of_this_method = (EB.Sparx.EndPoint) typeof(EB.Sparx.EndPoint).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.Url; return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
public override void Initialize(EB.Sparx.Config config) { m_endPoint = Hub.ApiEndPoint; if (Debug.isDebugBuild) { DataLookupDebug.Create(); } // PushManager should Initialize before DataLookupSparxManager EB.Sparx.PushManager pm = Hub.PushManager; if (pm != null) { pm.OnHandleMessage += new System.Action <string, string, object>(OnHandleMessage); } }
static StackObject *AddData_4(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @value = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @key = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); EB.Sparx.EndPoint instance_of_this_method = (EB.Sparx.EndPoint) typeof(EB.Sparx.EndPoint).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.AddData(@key, @value); return(__ret); }
static StackObject *Service_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Action <EB.Sparx.Response> @callback = (System.Action <EB.Sparx.Response>) typeof(System.Action <EB.Sparx.Response>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); EB.Sparx.Request @request = (EB.Sparx.Request) typeof(EB.Sparx.Request).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); EB.Sparx.EndPoint instance_of_this_method = (EB.Sparx.EndPoint) typeof(EB.Sparx.EndPoint).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.Service(@request, @callback); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return(__ret + 1); }
public SparxAPI(EB.Sparx.EndPoint _endPoint) { UnityEngine.Debug.Assert(_endPoint != null, "sparxAPI endPoint is null"); endPoint = _endPoint; }
public AsyncManager(EB.Sparx.EndPoint api) { m_Api = api; }
public LTDrawCardAPI(EB.Sparx.EndPoint endPoint) : base(endPoint) { }
public LTNewHeroBattleAPI(EB.Sparx.EndPoint endPoint) : base(endPoint) { }