Inheritance: SerializableDataExtensionBase
Esempio n. 1
0
        public override void OnCreated(ISerializableData serializableData)
        {
            base.OnCreated(serializableData);
            Instance = this;

            RenderManagerDetour.EventUpdateDataPost += OnUpdateData;

            NetManagerDetour.EventSegmentCreate       += OnSegmentCreate;
            NetManagerDetour.EventSegmentRelease      += OnSegmentRelease;
            NetManagerDetour.EventSegmentTransferData += OnSegmentTransferData;
        }
        public override void OnCreated(ISerializableData serializableData)
        {
            base.OnCreated(serializableData);
            Instance = this;

            RenderManagerDetour.EventUpdateDataPost += OnUpdateData;

            NetManagerDetour.EventSegmentCreate += OnSegmentCreate;
            NetManagerDetour.EventSegmentRelease += OnSegmentRelease;
            NetManagerDetour.EventSegmentTransferData += OnSegmentTransferData;
        }
Esempio n. 3
0
        public override void OnReleased()
        {
            base.OnReleased();

            RenderManagerDetour.EventUpdateDataPost -= OnUpdateData;

            NetManagerDetour.EventSegmentCreate       -= OnSegmentCreate;
            NetManagerDetour.EventSegmentCreate       -= OnSegmentRelease;
            NetManagerDetour.EventSegmentTransferData -= OnSegmentTransferData;

            Instance = null;
        }
        public override void OnReleased()
        {
            base.OnReleased();

            RenderManagerDetour.EventUpdateDataPost -= OnUpdateData;

            NetManagerDetour.EventSegmentCreate -= OnSegmentCreate;
            NetManagerDetour.EventSegmentCreate -= OnSegmentRelease;
            NetManagerDetour.EventSegmentTransferData -= OnSegmentTransferData;

            Instance = null;
        }