コード例 #1
0
        protected virtual void OnGuestPromoted(Character groupMember)
        {
            m_clients.Add(groupMember.Client);

            GroupLevelSum    += groupMember.Level;
            GroupLevelAverage = GroupLevelSum / MembersCount;

            PartyHandler.SendPartyJoinMessage(groupMember.Client, this);
            PartyHandler.SendPartyNewMemberMessage(Clients, this, groupMember);

            BindEvents(groupMember);

            GuestPromoted?.Invoke(this, groupMember);
        }