// Token: 0x0600021B RID: 539 RVA: 0x00004408 File Offset: 0x00003408
        public unsafe void UnRegisterArbitrationListener(string eventResult)
        {
            int byteCount = Encoding.ASCII.GetByteCount(eventResult);

            byte[] array = new byte[byteCount + 1];
            Encoding.ASCII.GetBytes(eventResult, 0, byteCount, array, 0);
            array[byteCount] = 0;
            fixed(byte *ptr = array)
            {
                InternalInstancedEvent._EASharpBinding_205(this.mSelf, (sbyte *)ptr);
            }
        }
        internal InstancedEvent(InternalInstancedEvent internalInstancedEvent, InternalEvent internalEvent, long eventSessionId, Manager manager, Collection eventDef, ConnectionSupport connectionSupport) : base(internalEvent, manager, eventDef)
        {
            this.internalInstancedEvent = internalInstancedEvent;
            this.internalInstancedEvent.Ready(this);
            this.eventSessionId    = eventSessionId;
            this.trackLayoutDef    = new Collection(eventDef.TrackLayout());
            this.carClassDef       = new Collection(eventDef.CarClass());
            this.connectionSupport = connectionSupport;
            this.trackLayout       = new TrackLayout();
            string arbitratedPacketName = base.ScoringMethod.ArbitratedPacketName;

            if (!string.IsNullOrEmpty(arbitratedPacketName))
            {
                this.internalInstancedEvent.RegisterArbitrationListener(arbitratedPacketName);
            }
            if (this.eventDef.SpectateMethod() != null)
            {
                this.spectateMethod = Activator.CreateInstance <ISpectateMethod>(this.eventDef.SpectateMethod().GetKey());
            }
            this.routingMethod = Activator.CreateInstance <IRoutingMethod>(this.eventDef.RoutingMethod().GetKey());
        }
 // Token: 0x06000217 RID: 535 RVA: 0x00004398 File Offset: 0x00003398
 public void Ready(InstancedEvent evnt)
 {
     InternalInstancedEvent._EASharpBinding_203(this.mSelf, evnt);
 }
 // Token: 0x06000213 RID: 531 RVA: 0x00004334 File Offset: 0x00003334
 public InternalInstancedEvent() : base(default(ExposeTag_NoInitOwned))
 {
     this.mSelf = InternalInstancedEvent._EASharpBinding_201();
 }
 // Token: 0x06000229 RID: 553 RVA: 0x000044B7 File Offset: 0x000034B7
 public void ArbitrationFailed()
 {
     InternalInstancedEvent._EASharpBinding_212(this.mSelf);
 }
 // Token: 0x06000227 RID: 551 RVA: 0x000044AA File Offset: 0x000034AA
 public void ArbitrationSucceeded()
 {
     InternalInstancedEvent._EASharpBinding_211(this.mSelf);
 }
 // Token: 0x06000225 RID: 549 RVA: 0x0000449B File Offset: 0x0000349B
 public void FillSecurityInfo(long eventDurationInMilliseconds, SecurityInfo securityInfo)
 {
     InternalInstancedEvent._EASharpBinding_210(this.mSelf, eventDurationInMilliseconds, securityInfo);
 }
 // Token: 0x06000223 RID: 547 RVA: 0x0000448D File Offset: 0x0000348D
 public void FetchAccolades(long eventSessionId)
 {
     InternalInstancedEvent._EASharpBinding_209(this.mSelf, eventSessionId);
 }
 // Token: 0x06000221 RID: 545 RVA: 0x00004480 File Offset: 0x00003480
 public void Cleanup()
 {
     InternalInstancedEvent._EASharpBinding_208(this.mSelf);
 }
 // Token: 0x0600021F RID: 543 RVA: 0x00004472 File Offset: 0x00003472
 public void Launched(long eventSessionId)
 {
     InternalInstancedEvent._EASharpBinding_207(this.mSelf, eventSessionId);
 }
 // Token: 0x0600021D RID: 541 RVA: 0x00004465 File Offset: 0x00003465
 public void Dispose()
 {
     InternalInstancedEvent._EASharpBinding_206(this.mSelf);
 }
Exemple #12
0
 // Token: 0x06000297 RID: 663 RVA: 0x000049FC File Offset: 0x000039FC
 public InternalInstancedEvent GetInternalInstancedEvent()
 {
     return(InternalInstancedEvent.CreateInitUnowned(InternalManager._EASharpBinding_263(this.mSelf)));
 }