コード例 #1
0
 private void Avatar6_CheckedChanged(object sender, EventArgs e)
 {
     if (Avatar6.Checked == true)
     {
         Globals.UserAccount.AvatarID = MBuildParts.AVATAR06;
         MMessageBus.ChangedUserInfo(this);
         MMessageBus.ChangeAvatarRequest(this, Globals.UserAccount.UserID, Globals.UserAccount.AvatarID);
     }
 }
コード例 #2
0
 void CreateAvatar()
 {
     Globals.UserAccount.HomePosition    = MassiveTools.ArrayFromVector(new Vector3d(12717655836.0836, 146353256922.555, -7581841295.85195));
     Globals.UserAccount.CurrentPosition = Globals.UserAccount.HomePosition;
     MMessageBus.ChangeAvatarRequest(this, Globals.UserAccount.UserID, Globals.UserAccount.AvatarID);
 }