コード例 #1
0
            public Controller(
                ILogicObject areasGroup,
                WorldMapController worldMapController)
            {
                this.areasGroup               = areasGroup;
                this.worldMapController       = worldMapController;
                this.stateSubscriptionStorage = new StateSubscriptionStorage();

                var groupPublicState = LandClaimAreasGroup.GetPublicState(areasGroup);

                groupPublicState.ClientSubscribe(
                    o => o.LastRaidTime,
                    this.RefreshRaidedState,
                    this.stateSubscriptionStorage);

                this.RefreshRaidedState();
            }
コード例 #2
0
 public ClientWorldMapLandClaimsGroupVisualizer(WorldMapController worldMapController)
 {
     this.worldMapController = worldMapController;
 }