OpenMetaverse.FriendInfo.FriendInfo C# (CSharp) 메소드

FriendInfo() 개인적인 메소드

Used internally when building the initial list of friends at login time
private FriendInfo ( UUID id, FriendRights theirRights, FriendRights myRights ) : System
id UUID System ID of the avatar being prepesented
theirRights FriendRights Rights the friend has to see you online and to modify your objects
myRights FriendRights Rights you have to see your friend online and to modify their objects
리턴 System
        internal FriendInfo(UUID id, FriendRights theirRights, FriendRights myRights)
        {
            m_id = id;
            m_canSeeMeOnline = (theirRights & FriendRights.CanSeeOnline) != 0;
            m_canSeeMeOnMap = (theirRights & FriendRights.CanSeeOnMap) != 0;
            m_canModifyMyObjects = (theirRights & FriendRights.CanModifyObjects) != 0;

            m_canSeeThemOnline = (myRights & FriendRights.CanSeeOnline) != 0;
            m_canSeeThemOnMap = (myRights & FriendRights.CanSeeOnMap) != 0;
            m_canModifyTheirObjects = (myRights & FriendRights.CanModifyObjects) != 0;
        }