diff --git a/libsecondlife-cs/NetworkManager.cs b/libsecondlife-cs/NetworkManager.cs index 4a2146dc..a4c89751 100644 --- a/libsecondlife-cs/NetworkManager.cs +++ b/libsecondlife-cs/NetworkManager.cs @@ -722,7 +722,21 @@ namespace libsecondlife throw new NotConnectedException(); } } + /// + /// Use this if you want to login to a specific location + /// + /// + /// + /// + /// + /// string with a value that can be used in the start field in .DefaultLoginValues() + public static string StartLocation(string sim, int x, int y, int z) + { + //uri:sim&x&y&z + return "uri:" + sim + "&" + x + "&" + y + "&" + z; + } + /// /// /// @@ -738,7 +752,21 @@ namespace libsecondlife return DefaultLoginValues(firstName, lastName, password, "00:00:00:00:00:00", "last", 1, 50, 50, 50, "Win", "0", userAgent, author); } - + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static Dictionary DefaultLoginValues( + string firstName, string lastName, string password, string startLocation, string userAgent, string author) + { + return DefaultLoginValues(firstName, lastName, password, "00:00:00:00:00:00", startLocation, + 1, 50, 50, 50, "Win", "0", userAgent, author); + } public static Dictionary DefaultLoginValues(string firstName, string lastName, string password, string mac, string startLocation, string platform, string viewerDigest, string userAgent, string author)