Esempio n. 1
0
    public AchievementBuildingLogicData BuildAchievementBuilding(AchievementBuildingType achievementBuildingType, TilePosition position)
    {
        AchievementBuildingLogicData result = this.m_AchievementBuildingModule.BuildAchievementBuilding(achievementBuildingType, position);
        List <int> useProps = this.m_PropsModule.BuildAchievementBuilding(achievementBuildingType);

        BuildAchievementBuildingRequestParameter request = new BuildAchievementBuildingRequestParameter();

        request.AchievementBuildingType = achievementBuildingType;
        request.PositionRow             = position.Row;
        request.PositionColumn          = position.Column;
        request.UseProps = useProps;
        CommunicationUtility.Instance.BuildAchievementBuilding(request);

        return(result);
    }
 public void BuildAchievementBuilding(BuildAchievementBuildingRequestParameter parameter)
 {
     this.CommunicateWithServer(parameter.GetHashtableFromParameter(), ClientCommandConsts.BUILD_ACHIEVEMENT_BUILDING_COMMAND);
 }