예제 #1
0
        public Guild(GuildInfo guildInfo, GuildHierarchy guildHierarchy)
        {
            NullGuard.ThrowIfNull(guildInfo, guildHierarchy);

            GuildInfo = guildInfo;
            Hierarchy = guildHierarchy;
        }
예제 #2
0
 //TODO: Too many parameters, bad sign. Parameters container?
 public static MyGuild CreateNewMyGuild(Gamer guildMaster, List <Gamer> guildOfficers, List <Gamer> guildMembers, GuildInfo guildInfo, int maxMemberQuantity, int maxOfficerQuantity)
 {
     return(new MyGuild(guildInfo, new GuildHierarchy(guildMaster, maxMemberQuantity, maxOfficerQuantity, guildMembers, guildOfficers)));
 }
예제 #3
0
 public static MyGuild CreateNewMyGuild(Gamer guildMaster, GuildInfo guildInfo, int maxMemberQuantity, int maxOfficerQuantity)
 {
     return(CreateNewMyGuild(guildMaster, null, null, guildInfo, maxMemberQuantity, maxOfficerQuantity));
 }
예제 #4
0
 public MyGuild(GuildInfo guildInfo, GuildHierarchy guildHierarchy) : base(guildInfo, guildHierarchy)
 {
 }