From 6d10c6535847a65f3bc56398a609916174684729 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 18 Aug 2007 18:53:03 +0000 Subject: Moved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs). --- .../Compiler/Server_API/LSL_BuiltIn_Commands.cs | 472 ++++++++++++++++ .../Server_API/LSL_BuiltIn_Commands_Interface.cs | 629 --------------------- 2 files changed, 472 insertions(+), 629 deletions(-) create mode 100644 OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs delete mode 100644 OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs new file mode 100644 index 0000000..8c2e799 --- /dev/null +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs @@ -0,0 +1,472 @@ +using System; +using System.Collections.Generic; +using System.Text; +using libsecondlife; +using OpenSim.Region.Environment.Scenes; +using OpenSim.Region.Environment.Scenes.Scripting; +using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler; +using OpenSim.Region.ScriptEngine.Common; +using OpenSim.Framework.Console; + +namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler +{ + + /// + /// Contains all LSL ll-functions. This class will be in Default AppDomain. + /// + [Serializable] + public class LSL_BuiltIn_Commands: LSL_BuiltIn_Commands_Interface + { + private System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); + private ScriptManager m_manager; + private IScriptHost m_host; + + public LSL_BuiltIn_Commands(ScriptManager manager, IScriptHost host) + { + m_manager = manager; + m_host = host; + + MainLog.Instance.Notice("ScriptEngine", "LSL_BaseClass.Start() called. Hosted by [" + m_host.Name + ":" + m_host.UUID + "@" + m_host.AbsolutePosition + "]"); + } + + + public string State = "default"; + + public Scene World + { + get { return m_manager.World; } + } + + //These are the implementations of the various ll-functions used by the LSL scripts. + //starting out, we use the System.Math library for trig functions. - CFK 8-14-07 + public double llSin(double f) { return (double)Math.Sin(f); } + public double llCos(double f) { return (double)Math.Cos(f); } + public double llTan(double f) { return (double)Math.Tan(f); } + public double llAtan2(double x, double y) { return (double)Math.Atan2(y, x); } + public double llSqrt(double f) { return (double)Math.Sqrt(f); } + public double llPow(double fbase, double fexponent) { return (double)Math.Pow(fbase, fexponent); } + public int llAbs(int i) { return (int)Math.Abs(i); } + public double llFabs(double f) { return (double)Math.Abs(f); } + + public double llFrand(double mag) + { + lock (OpenSim.Framework.Utilities.Util.RandomClass) + { + return OpenSim.Framework.Utilities.Util.RandomClass.Next((int)mag); + } + } + public int llFloor(double f) { return (int)Math.Floor(f); } + public int llCeil(double f) { return (int)Math.Ceiling(f); } + public int llRound(double f) { return (int)Math.Round(f, 1); } + public double llVecMag(Axiom.Math.Vector3 v) { return 0; } + public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return new Axiom.Math.Vector3(); } + public double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return 0; } + public Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v) { return new Axiom.Math.Quaternion(); } + public Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up) { return new Axiom.Math.Quaternion(); } + public Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end) { return new Axiom.Math.Quaternion(); } + + public void llWhisper(int channelID, string text) + { + //Common.SendToDebug("INTERNAL FUNCTION llWhisper(" + channelID + ", \"" + text + "\");"); + Console.WriteLine("llWhisper Channel " + channelID + ", Text: \"" + text + "\""); + //type for whisper is 0 + World.SimChat(Helpers.StringToField(text), + 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID); + + + } + //public void llSay(int channelID, string text) + public void llSay(int channelID, string text) + { + //TODO: DO SOMETHING USEFUL HERE + //Common.SendToDebug("INTERNAL FUNCTION llSay(" + (int)channelID + ", \"" + (string)text + "\");"); + Console.WriteLine("llSay Channel " + channelID + ", Text: \"" + text + "\""); + //type for say is 1 + + World.SimChat(Helpers.StringToField(text), + 1, m_host.AbsolutePosition, m_host.Name, m_host.UUID); + } + + public void llShout(int channelID, string text) + { + Console.WriteLine("llShout Channel " + channelID + ", Text: \"" + text + "\""); + //type for shout is 2 + World.SimChat(Helpers.StringToField(text), + 2, m_host.AbsolutePosition, m_host.Name, m_host.UUID); + + } + + public int llListen(int channelID, string name, string ID, string msg) { return 0; } + public void llListenControl(int number, int active) { return; } + public void llListenRemove(int number) { return; } + public void llSensor(string name, string id, int type, double range, double arc) { return; } + public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate) { return; } + public void llSensorRemove() { return; } + public string llDetectedName(int number) { return ""; } + public string llDetectedKey(int number) { return ""; } + public string llDetectedOwner(int number) { return ""; } + public int llDetectedType(int number) { return 0; } + public Axiom.Math.Vector3 llDetectedPos(int number) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llDetectedVel(int number) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llDetectedGrab(int number) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Quaternion llDetectedRot(int number) { return new Axiom.Math.Quaternion(); } + public int llDetectedGroup(int number) { return 0; } + public int llDetectedLinkNumber(int number) { return 0; } + public void llDie() { return; } + public double llGround(Axiom.Math.Vector3 offset) { return 0; } + public double llCloud(Axiom.Math.Vector3 offset) { return 0; } + public Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } + public void llSetStatus(int status, int value) { return; } + public int llGetStatus(int status) { return 0; } + public void llSetScale(Axiom.Math.Vector3 scale) { return; } + public Axiom.Math.Vector3 llGetScale() { return new Axiom.Math.Vector3(); } + public void llSetColor(Axiom.Math.Vector3 color, int face) { return; } + public double llGetAlpha(int face) { return 0; } + public void llSetAlpha(double alpha, int face) { return; } + public Axiom.Math.Vector3 llGetColor(int face) { return new Axiom.Math.Vector3(); } + public void llSetTexture(string texture, int face) { return; } + public void llScaleTexture(double u, double v, int face) { return; } + public void llOffsetTexture(double u, double v, int face) { return; } + public void llRotateTexture(double rotation, int face) { return; } + public string llGetTexture(int face) { return ""; } + public void llSetPos(Axiom.Math.Vector3 pos) { return; } + + public Axiom.Math.Vector3 llGetPos() + { + throw new NotImplementedException("llGetPos"); + // return m_host.AbsolutePosition; + } + + public Axiom.Math.Vector3 llGetLocalPos() { return new Axiom.Math.Vector3(); } + public void llSetRot(Axiom.Math.Quaternion rot) { } + public Axiom.Math.Quaternion llGetRot() { return new Axiom.Math.Quaternion(); } + public Axiom.Math.Quaternion llGetLocalRot() { return new Axiom.Math.Quaternion(); } + public void llSetForce(Axiom.Math.Vector3 force, int local) { } + public Axiom.Math.Vector3 llGetForce() { return new Axiom.Math.Vector3(); } + public int llTarget(Axiom.Math.Vector3 position, double range) { return 0; } + public void llTargetRemove(int number) { } + public int llRotTarget(Axiom.Math.Quaternion rot, double error) { return 0; } + public void llRotTargetRemove(int number) { } + public void llMoveToTarget(Axiom.Math.Vector3 target, double tau) { } + public void llStopMoveToTarget() { } + public void llApplyImpulse(Axiom.Math.Vector3 force, int local) { } + public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local) { } + public void llSetTorque(Axiom.Math.Vector3 torque, int local) { } + public Axiom.Math.Vector3 llGetTorque() { return new Axiom.Math.Vector3(); } + public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local) { } + public Axiom.Math.Vector3 llGetVel() { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llGetAccel() { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llGetOmega() { return new Axiom.Math.Vector3(); } + public double llGetTimeOfDay() { return 0; } + public double llGetWallclock() { return 0; } + public double llGetTime() { return 0; } + public void llResetTime() { } + public double llGetAndResetTime() { return 0; } + public void llSound() { } + public void llPlaySound(string sound, double volume) { } + public void llLoopSound(string sound, double volume) { } + public void llLoopSoundMaster(string sound, double volume) { } + public void llLoopSoundSlave(string sound, double volume) { } + public void llPlaySoundSlave(string sound, double volume) { } + public void llTriggerSound(string sound, double volume) { } + public void llStopSound() { } + public void llPreloadSound(string sound) { } + public string llGetSubString(string src, int start, int end) { return src.Substring(start, end); } + public string llDeleteSubString(string src, int start, int end) { return ""; } + public string llInsertString(string dst, int position, string src) { return ""; } + public string llToUpper(string src) { return src.ToUpper(); } + public string llToLower(string src) { return src.ToLower(); } + public int llGiveMoney(string destination, int amount) { return 0; } + public void llMakeExplosion() { } + public void llMakeFountain() { } + public void llMakeSmoke() { } + public void llMakeFire() { } + public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param) { } + public void llLookAt(Axiom.Math.Vector3 target, double strength, double damping) { } + public void llStopLookAt() { } + public void llSetTimerEvent(double sec) { } + public void llSleep(double sec) { System.Threading.Thread.Sleep((int)(sec * 1000)); } + public double llGetMass() { return 0; } + public void llCollisionFilter(string name, string id, int accept) { } + public void llTakeControls(int controls, int accept, int pass_on) { } + public void llReleaseControls() { } + public void llAttachToAvatar(int attachment) { } + public void llDetachFromAvatar() { } + public void llTakeCamera() { } + public void llReleaseCamera() { } + public string llGetOwner() { return ""; } + public void llInstantMessage(string user, string message) { } + public void llEmail(string address, string subject, string message) { } + public void llGetNextEmail(string address, string subject) { } + public string llGetKey() { return ""; } + public void llSetBuoyancy(double buoyancy) { } + public void llSetHoverHeight(double height, int water, double tau) { } + public void llStopHover() { } + public void llMinEventDelay(double delay) { } + public void llSoundPreload() { } + public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { } + + public int llStringLength(string str) + { + if (str.Length > 0) + { + return str.Length; + } + else + { + return 0; + } + } + + public void llStartAnimation(string anim) { } + public void llStopAnimation(string anim) { } + public void llPointAt() { } + public void llStopPointAt() { } + public void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain) { } + public int llGetStartParameter() { return 0; } + public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { } + public void llRequestPermissions(string agent, int perm) { } + public string llGetPermissionsKey() { return ""; } + public int llGetPermissions() { return 0; } + public int llGetLinkNumber() { return 0; } + public void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face) { } + public void llCreateLink(string target, int parent) { } + public void llBreakLink(int linknum) { } + public void llBreakAllLinks() { } + public string llGetLinkKey(int linknum) { return ""; } + public void llGetLinkName(int linknum) { } + public int llGetInventoryNumber(int type) { return 0; } + public string llGetInventoryName(int type, int number) { return ""; } + public void llSetScriptState(string name, int run) { } + public double llGetEnergy() { return 1.0f; } + public void llGiveInventory(string destination, string inventory) { } + public void llRemoveInventory(string item) { } + + public void llSetText(string text, Axiom.Math.Vector3 color, double alpha) + { + m_host.SetText(text, color, alpha); + } + + public double llWater(Axiom.Math.Vector3 offset) { return 0; } + public void llPassTouches(int pass) { } + public string llRequestAgentData(string id, int data) { return ""; } + public string llRequestInventoryData(string name) { return ""; } + public void llSetDamage(double damage) { } + public void llTeleportAgentHome(string agent) { } + public void llModifyLand(int action, int brush) { } + public void llCollisionSound(string impact_sound, double impact_volume) { } + public void llCollisionSprite(string impact_sprite) { } + public string llGetAnimation(string id) { return ""; } + public void llResetScript() { } + public void llMessageLinked(int linknum, int num, string str, string id) { } + public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local) { } + public void llPassCollisions(int pass) { } + public string llGetScriptName() { return ""; } + public int llGetNumberOfSides() { return 0; } + public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle) { return new Axiom.Math.Quaternion(); } + public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return new Axiom.Math.Vector3(); } + public void llRot2Angle() { } + public double llAcos(double val) { return (double)Math.Acos(val); } + public double llAsin(double val) { return (double)Math.Asin(val); } + public double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return 0; } + public string llGetInventoryKey(string name) { return ""; } + public void llAllowInventoryDrop(int add) { } + public Axiom.Math.Vector3 llGetSunDirection() { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llGetTextureOffset(int face) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llGetTextureScale(int side) { return new Axiom.Math.Vector3(); } + public double llGetTextureRot(int side) { return 0; } + public int llSubStringIndex(string source, string pattern) { return 0; } + public string llGetOwnerKey(string id) { return ""; } + public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } + public List llListSort(List src, int stride, int ascending) + { return new List(); } + public int llGetListLength(List src) { return 0; } + public int llList2Integer(List src, int index) { return 0; } + public double llList2double(List src, int index) { return 0; } + public string llList2String(List src, int index) { return ""; } + public string llList2Key(List src, int index) { return ""; } + public Axiom.Math.Vector3 llList2Vector(List src, int index) + { return new Axiom.Math.Vector3(); } + public Axiom.Math.Quaternion llList2Rot(List src, int index) + { return new Axiom.Math.Quaternion(); } + public List llList2List(List src, int start, int end) + { return new List(); } + public List llDeleteSubList(List src, int start, int end) + { return new List(); } + public int llGetListEntryType(List src, int index) { return 0; } + public string llList2CSV(List src) { return ""; } + public List llCSV2List(string src) + { return new List(); } + public List llListRandomize(List src, int stride) + { return new List(); } + public List llList2ListStrided(List src, int start, int end, int stride) + { return new List(); } + public Axiom.Math.Vector3 llGetRegionCorner() + { return new Axiom.Math.Vector3(World.RegionInfo.RegionLocX * 256, World.RegionInfo.RegionLocY * 256, 0); } + public List llListInsertList(List dest, List src, int start) + { return new List(); } + public int llListFindList(List src, List test) { return 0; } + public string llGetObjectName() { return ""; } + public void llSetObjectName(string name) { } + public string llGetDate() { return ""; } + public int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return 0; } + public int llGetAgentInfo(string id) { return 0; } + public void llAdjustSoundVolume(double volume) { } + public void llSetSoundQueueing(int queue) { } + public void llSetSoundRadius(double radius) { } + public string llKey2Name(string id) { return ""; } + public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { } + public void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { } + public void llEjectFromLand(string pest) { } + public void llParseString2List() { } + public int llOverMyLand(string id) { return 0; } + public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return ""; } + public string llGetNotecardLine(string name, int line) { return ""; } + public Axiom.Math.Vector3 llGetAgentSize(string id) { return new Axiom.Math.Vector3(); } + public int llSameGroup(string agent) { return 0; } + public void llUnSit(string id) { } + public Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } + public Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } + public int llGetAttached() { return 0; } + public int llGetFreeMemory() { return 0; } + public string llGetRegionName() { return m_manager.RegionName; } + public double llGetRegionTimeDilation() { return 1.0f; } + public double llGetRegionFPS() { return 10.0f; } + public void llParticleSystem(List rules) { } + public void llGroundRepel(double height, int water, double tau) { } + public void llGiveInventoryList() { } + public void llSetVehicleType(int type) { } + public void llSetVehicledoubleParam(int param, double value) { } + public void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec) { } + public void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot) { } + public void llSetVehicleFlags(int flags) { } + public void llRemoveVehicleFlags(int flags) { } + public void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot) { } + public string llAvatarOnSitTarget() { return ""; } + public void llAddToLandPassList(string avatar, double hours) { } + public void llSetTouchText(string text) + { + } + + public void llSetSitText(string text) + { + } + public void llSetCameraEyeOffset(Axiom.Math.Vector3 offset) { } + public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { } + public void llDumpList2String() { } + public void llScriptDanger(Axiom.Math.Vector3 pos) { } + public void llDialog(string avatar, string message, List buttons, int chat_channel) { } + public void llVolumeDetect(int detect) { } + public void llResetOtherScript(string name) { } + public int llGetScriptState(string name) { return 0; } + public void llRemoteLoadScript() { } + public void llSetRemoteScriptAccessPin(int pin) { } + public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param) { } + public void llOpenRemoteDataChannel() { } + public string llSendRemoteData(string channel, string dest, int idata, string sdata) { return ""; } + public void llRemoteDataReply(string channel, string message_id, string sdata, int idata) { } + public void llCloseRemoteDataChannel(string channel) { } + public string llMD5String(string src, int nonce) + { + return OpenSim.Framework.Utilities.Util.Md5Hash(src + ":" + nonce.ToString()); + } + public void llSetPrimitiveParams(List rules) { } + public string llStringToBase64(string str) { return ""; } + public string llBase64ToString(string str) { return ""; } + public void llXorBase64Strings() { } + public void llRemoteDataSetRegion() { } + public double llLog10(double val) { return (double)Math.Log10(val); } + public double llLog(double val) { return (double)Math.Log(val); } + public List llGetAnimationList(string id) { return new List(); } + public void llSetParcelMusicURL(string url) { } + + public Axiom.Math.Vector3 llGetRootPosition() + { + throw new NotImplementedException("llGetRootPosition"); + //return m_root.AbsolutePosition; + } + + public Axiom.Math.Quaternion llGetRootRotation() + { + return new Axiom.Math.Quaternion(); + } + + public string llGetObjectDesc() { return ""; } + public void llSetObjectDesc(string desc) { } + public string llGetCreator() { return ""; } + public string llGetTimestamp() { return ""; } + public void llSetLinkAlpha(int linknumber, double alpha, int face) { } + public int llGetNumberOfPrims() { return 0; } + public string llGetNumberOfNotecardLines(string name) { return ""; } + public List llGetBoundingBox(string obj) { return new List(); } + public Axiom.Math.Vector3 llGetGeometricCenter() { return new Axiom.Math.Vector3(); } + public void llGetPrimitiveParams() { } + public string llIntegerToBase64(int number) { return ""; } + public int llBase64ToInteger(string str) { return 0; } + public double llGetGMTclock() { return 0; } + public string llGetSimulatorHostname() { return ""; } + public void llSetLocalRot(Axiom.Math.Quaternion rot) { } + public List llParseStringKeepNulls(string src, List seperators, List spacers) + { return new List(); } + public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param) { } + public int llGetObjectPermMask(int mask) { return 0; } + public void llSetObjectPermMask(int mask, int value) { } + public void llGetInventoryPermMask(string item, int mask) { } + public void llSetInventoryPermMask(string item, int mask, int value) { } + public string llGetInventoryCreator(string item) { return ""; } + public void llOwnerSay(string msg) { } + public void llRequestSimulatorData(string simulator, int data) { } + public void llForceMouselook(int mouselook) { } + public double llGetObjectMass(string id) { return 0; } + public void llListReplaceList() { } + public void llLoadURL(string avatar_id, string message, string url) { } + public void llParcelMediaCommandList(List commandList) { } + public void llParcelMediaQuery() { } + + public int llModPow(int a, int b, int c) + { + Int64 tmp = 0; + Int64 val = Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp); + + return Convert.ToInt32(tmp); + } + + public int llGetInventoryType(string name) { return 0; } + public void llSetPayPrice(int price, List quick_pay_buttons) { } + public Axiom.Math.Vector3 llGetCameraPos() { return new Axiom.Math.Vector3(); } + public Axiom.Math.Quaternion llGetCameraRot() { return new Axiom.Math.Quaternion(); } + public void llSetPrimURL() { } + public void llRefreshPrimURL() { } + public string llEscapeURL(string url) { return ""; } + public string llUnescapeURL(string url) { return ""; } + public void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at) { } + public void llAddToLandBanList(string avatar, double hours) { } + public void llRemoveFromLandPassList(string avatar) { } + public void llRemoveFromLandBanList(string avatar) { } + public void llSetCameraParams(List rules) { } + public void llClearCameraParams() { } + public double llListStatistics(int operation, List src) { return 0; } + public int llGetUnixTime() + { + return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); + } + public int llGetParcelFlags(Axiom.Math.Vector3 pos) { return 0; } + public int llGetRegionFlags() { return 0; } + public string llXorBase64StringsCorrect(string str1, string str2) { return ""; } + public void llHTTPRequest() { } + public void llResetLandBanList() { } + public void llResetLandPassList() { } + public int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide) { return 0; } + public List llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return new List(); } + public int llGetObjectPrimCount(string object_id) { return 0; } + public int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide) { return 0; } + public List llGetParcelDetails(Axiom.Math.Vector3 pos, List param) { return new List(); } + + + } +} diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs deleted file mode 100644 index b7fd2d2..0000000 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs +++ /dev/null @@ -1,629 +0,0 @@ -/* -* Copyright (c) Contributors, http://www.openmetaverse.org/ -* See CONTRIBUTORS.TXT for a full list of copyright holders. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions are met: -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* * Neither the name of the OpenSim Project nor the -* names of its contributors may be used to endorse or promote products -* derived from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY -* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY -* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* -*/ -/* Original code: Tedd Hansen */ -using System; -using System.Collections.Generic; -using System.Text; - -namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler -{ - public interface LSL_BuiltIn_Commands_Interface - { - double llSin(double f); - double llCos(double f); - double llTan(double f); - double llAtan2(double x, double y); - double llSqrt(double f); - double llPow(double fbase, double fexponent); - int llAbs(int i); - double llFabs(double f); - double llFrand(double mag); - int llFloor(double f); - int llCeil(double f); - int llRound(double f); - double llVecMag(Axiom.Math.Vector3 v); - Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v); - double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b); - Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r); - Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v); - Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up); - Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r); - Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r); - Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r); - Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end); - void llWhisper(int channelID, string text); - //void llSay(int channelID, string text); - void llSay(int channelID, string text); - void llShout(int channelID, string text); - int llListen(int channelID, string name, string ID, string msg); - void llListenControl(int number, int active); - void llListenRemove(int number); - void llSensor(string name, string id, int type, double range, double arc); - void llSensorRepeat(string name, string id, int type, double range, double arc, double rate); - void llSensorRemove(); - string llDetectedName(int number); - string llDetectedKey(int number); - string llDetectedOwner(int number); - int llDetectedType(int number); - Axiom.Math.Vector3 llDetectedPos(int number); - Axiom.Math.Vector3 llDetectedVel(int number); - Axiom.Math.Vector3 llDetectedGrab(int number); - Axiom.Math.Quaternion llDetectedRot(int number); - int llDetectedGroup(int number); - int llDetectedLinkNumber(int number); - void llDie(); - double llGround(Axiom.Math.Vector3 offset); - double llCloud(Axiom.Math.Vector3 offset); - Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset); - void llSetStatus(int status, int value); - int llGetStatus(int status); - void llSetScale(Axiom.Math.Vector3 scale); - Axiom.Math.Vector3 llGetScale(); - void llSetColor(Axiom.Math.Vector3 color, int face); - double llGetAlpha(int face); - void llSetAlpha(double alpha, int face); - Axiom.Math.Vector3 llGetColor(int face); - void llSetTexture(string texture, int face); - void llScaleTexture(double u, double v, int face); - void llOffsetTexture(double u, double v, int face); - void llRotateTexture(double rotation, int face); - string llGetTexture(int face); - void llSetPos(Axiom.Math.Vector3 pos); - - //wiki: vector llGetPos() - Axiom.Math.Vector3 llGetPos(); - //wiki: vector llGetLocalPos() - Axiom.Math.Vector3 llGetLocalPos(); - //wiki: llSetRot(rotation rot) - void llSetRot(Axiom.Math.Quaternion rot); - //wiki: rotation llGetRot() - Axiom.Math.Quaternion llGetRot(); - //wiki: rotation llGetLocalRot() - Axiom.Math.Quaternion llGetLocalRot(); - //wiki: llSetForce(vector force, integer local) - void llSetForce(Axiom.Math.Vector3 force, int local); - //wiki: vector llGetForce() - Axiom.Math.Vector3 llGetForce(); - //wiki: integer llTarget(vector position, double range) - int llTarget(Axiom.Math.Vector3 position, double range); - //wiki: llTargetRemove(integer number) - void llTargetRemove(int number); - //wiki: integer llRotTarget(rotation rot, double error) - int llRotTarget(Axiom.Math.Quaternion rot, double error); - //wiki: integer llRotTargetRemove(integer number) - void llRotTargetRemove(int number); - //wiki: llMoveToTarget(vector target, double tau) - void llMoveToTarget(Axiom.Math.Vector3 target, double tau); - //wiki: llStopMoveToTarget() - void llStopMoveToTarget(); - //wiki: llApplyImpulse(vector force, integer local) - void llApplyImpulse(Axiom.Math.Vector3 force, int local); - //wiki: llapplyRotationalImpulse(vector force, integer local) - void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local); - //wiki: llSetTorque(vector torque, integer local) - void llSetTorque(Axiom.Math.Vector3 torque, int local); - //wiki: vector llGetTorque() - Axiom.Math.Vector3 llGetTorque(); - //wiki: llSeForceAndTorque(vector force, vector torque, integer local) - void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local); - //wiki: vector llGetVel() - Axiom.Math.Vector3 llGetVel(); - //wiki: vector llGetAccel() - Axiom.Math.Vector3 llGetAccel(); - //wiki: vector llGetOmega() - Axiom.Math.Vector3 llGetOmega(); - //wiki: double llGetTimeOfDay() - double llGetTimeOfDay(); - //wiki: double llGetWallclock() - double llGetWallclock(); - //wiki: double llGetTime() - double llGetTime(); - //wiki: llResetTime() - void llResetTime(); - //wiki: double llGetAndResetTime() - double llGetAndResetTime(); - //wiki (deprecated) llSound(string sound, double volume, integer queue, integer loop) - void llSound(); - //wiki: llPlaySound(string sound, double volume) - void llPlaySound(string sound, double volume); - //wiki: llLoopSound(string sound, double volume) - void llLoopSound(string sound, double volume); - //wiki: llLoopSoundMaster(string sound, double volume) - void llLoopSoundMaster(string sound, double volume); - //wiki: llLoopSoundSlave(string sound, double volume) - void llLoopSoundSlave(string sound, double volume); - //wiki llPlaySoundSlave(string sound, double volume) - void llPlaySoundSlave(string sound, double volume); - //wiki: llTriggerSound(string sound, double volume) - void llTriggerSound(string sound, double volume); - //wiki: llStopSound() - void llStopSound(); - //wiki: llPreloadSound(string sound) - void llPreloadSound(string sound); - //wiki: string llGetSubString(string src, integer start, integer end) - string llGetSubString(string src, int start, int end); - //wiki: string llDeleteSubString(string src, integer start, integer end) - string llDeleteSubString(string src, int start, int end); - //wiki string llInsertString(string dst, integer position, string src) - string llInsertString(string dst, int position, string src); - //wiki: string llToUpper(string source) - string llToUpper(string source); - //wiki: string llToLower(string source) - string llToLower(string source); - //wiki: integer llGiveMoney(key destination, integer amount) - int llGiveMoney(string destination, int amount); - //wiki: (deprecated) - void llMakeExplosion(); - //wiki: (deprecated) - void llMakeFountain(); - //wiki: (deprecated) - void llMakeSmoke(); - //wiki: (deprecated) - void llMakeFire(); - //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) - void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param); - //wiki: llLookAt(vector target, double strength, double damping) - void llLookAt(Axiom.Math.Vector3 target, double strength, double damping); - //wiki: llStopLookAt() - void llStopLookAt(); - //wiki: llSetTimerEvent(double sec) - void llSetTimerEvent(double sec); - //wiki: llSleep(double sec) - void llSleep(double sec); - //wiki: double llGetMass() - double llGetMass(); - //wiki: llCollisionFilter(string name, key id, integer accept) - void llCollisionFilter(string name, string id, int accept); - //wiki: llTakeControls(integer controls, integer accept, integer pass_on) - void llTakeControls(int controls, int accept, int pass_on); - //wiki: llReleaseControls() - void llReleaseControls(); - //wiki: llAttachToAvatar(integer attachment) - void llAttachToAvatar(int attachment); - //wiki: llDetachFromAvatar() - void llDetachFromAvatar(); - //wiki: (deprecated) llTakeCamera() - void llTakeCamera(); - //wiki: (deprecated) llReleaseCamera() - void llReleaseCamera(); - //wiki: key llGetOwner() - string llGetOwner(); - //wiki: llInstantMessage(key user, string message) - void llInstantMessage(string user, string message); - //wiki: llEmail(string address, string subject, string message) - void llEmail(string address, string subject, string message); - //wiki: llGetNextEmail(string address, string subject) - void llGetNextEmail(string address, string subject); - //wiki: key llGetKey() - string llGetKey(); - //wiki: llSetBuoyancy(double buoyancy) - void llSetBuoyancy(double buoyancy); - //wiki: llSetHoverHeight(double height, integer water, double tau) - void llSetHoverHeight(double height, int water, double tau); - //wiki: llStopHover - void llStopHover(); - //wiki: llMinEventDelay(double delay) - void llMinEventDelay(double delay); - //wiki: (deprecated) llSoundPreload() - void llSoundPreload(); - //wiki: llRotLookAt(rotation target, double strength, double damping) - void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping); - //wiki: integer llStringLength(string str) - int llStringLength(string str); - //wiki: llStartAnimation(string anim) - void llStartAnimation(string anim); - //wiki: llStopAnimation(string anim) - void llStopAnimation(string anim); - //wiki: (deprecated) llPointAt - void llPointAt(); - //wiki: (deprecated) llStopPointAt - void llStopPointAt(); - //wiki: llTargetOmega(vector axis, double spinrate, double gain) - void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain); - //wiki: integer llGetStartParameter() - int llGetStartParameter(); - //wiki: llGodLikeRezObject(key inventory, vector pos) - void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos); - //wiki: llRequestPermissions(key agent, integer perm) - void llRequestPermissions(string agent, int perm); - //wiki: key llGetPermissionsKey() - string llGetPermissionsKey(); - //wiki: integer llGetPermissions() - int llGetPermissions(); - //wiki integer llGetLinkNumber() - int llGetLinkNumber(); - //wiki: llSetLinkColor(integer linknumber, vector color, integer face) - void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face); - //wiki: llCreateLink(key target, integer parent) - void llCreateLink(string target, int parent); - //wiki: llBreakLink(integer linknum) - void llBreakLink(int linknum); - //wiki: llBreakAllLinks() - void llBreakAllLinks(); - //wiki: key llGetLinkKey(integer linknum) - string llGetLinkKey(int linknum); - //wiki: llGetLinkName(integer linknum) - void llGetLinkName(int linknum); - //wiki: integer llGetInventoryNumber(integer type) - int llGetInventoryNumber(int type); - //wiki: string llGetInventoryName(integer type, integer number) - string llGetInventoryName(int type, int number); - //wiki: llSetScriptState(string name, integer run) - void llSetScriptState(string name, int run); - //wiki: double llGetEnergy() - double llGetEnergy(); - //wiki: llGiveInventory(key destination, string inventory) - void llGiveInventory(string destination, string inventory); - //wiki: llRemoveInventory(string item) - void llRemoveInventory(string item); - //wiki: llSetText(string text, vector color, double alpha) - void llSetText(string text, Axiom.Math.Vector3 color, double alpha); - //wiki: double llWater(vector offset) - double llWater(Axiom.Math.Vector3 offset); - //wiki: llPassTouches(integer pass) - void llPassTouches(int pass); - //wiki: key llRequestAgentData(key id, integer data) - string llRequestAgentData(string id, int data); - //wiki: key llRequestInventoryData(string name) - string llRequestInventoryData(string name); - //wiki: llSetDamage(double damage) - void llSetDamage(double damage); - //wiki: llTeleportAgentHome(key agent) - void llTeleportAgentHome(string agent); - //wiki: llModifyLand(integer action, integer brush) - void llModifyLand(int action, int brush); - //wiki: llCollisionSound(string impact_sound, double impact_volume) - void llCollisionSound(string impact_sound, double impact_volume); - //wiki: llCollisionSprite(string impact_sprite) - void llCollisionSprite(string impact_sprite); - //wiki: string llGetAnimation(key id) - string llGetAnimation(string id); - //wiki: llResetScript() - void llResetScript(); - //wiki: llMessageLinked(integer linknum, integer num, string str, key id) - void llMessageLinked(int linknum, int num, string str, string id); - //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) - void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local); - //wiki: llPassCollisions(integer pass) - void llPassCollisions(int pass); - //wiki: string llGetScriptName() - string llGetScriptName(); - //wiki: integer llGetNumberOfSides() - int llGetNumberOfSides(); - //wiki: rotation llAxisAngle2Rot(vector axis, double angle) - Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle); - //wiki: vector llRot2Axis(rotation rot) - Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot); - void llRot2Angle(); - //wiki: double llAcos(double val) - double llAcos(double val); - //wiki: double llAsin(double val) - double llAsin(double val); - //wiki: double llAngleBetween(rotation a, rotation b) - double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b); - //wiki: string llGetInventoryKey(string name) - string llGetInventoryKey(string name); - //wiki: llAllowInventoryDrop(integer add) - void llAllowInventoryDrop(int add); - //wiki: vector llGetSunDirection() - Axiom.Math.Vector3 llGetSunDirection(); - //wiki: vector llGetTextureOffset(integer face) - Axiom.Math.Vector3 llGetTextureOffset(int face); - //wiki: vector llGetTextureScale(integer side) - Axiom.Math.Vector3 llGetTextureScale(int side); - //wiki: double llGetTextureRot(integer side) - double llGetTextureRot(int side); - //wiki: integer llSubStringIndex(string source, string pattern) - int llSubStringIndex(string source, string pattern); - //wiki: key llGetOwnerKey(key id) - string llGetOwnerKey(string id); - //wiki: vector llGetCenterOfMass() - Axiom.Math.Vector3 llGetCenterOfMass(); - //wiki: list llListSort(list src, integer stride, integer ascending) - List llListSort(List src, int stride, int ascending); - //integer llGetListLength(list src) - int llGetListLength(List src); - //wiki: integer llList2Integer(list src, integer index) - int llList2Integer(List src, int index); - //wiki: double llList2double(list src, integer index) - double llList2double(List src, int index); - //wiki: string llList2String(list src, integer index) - string llList2String(List src, int index); - //wiki: key llList2Key(list src, integer index) - string llList2Key(List src, int index); - //wiki: vector llList2Vector(list src, integer index) - Axiom.Math.Vector3 llList2Vector(List src, int index); - //wiki rotation llList2Rot(list src, integer index) - Axiom.Math.Quaternion llList2Rot(List src, int index); - //wiki: list llList2List(list src, integer start, integer end) - List llList2List(List src, int start, int end); - //wiki: llDeleteSubList(list src, integer start, integer end) - List llDeleteSubList(List src, int start, int end); - //wiki: integer llGetListEntryType( list src, integer index ) - int llGetListEntryType(List src, int index); - //wiki: string llList2CSV( list src ) - string llList2CSV(List src); - //wiki: list llCSV2List( string src ) - List llCSV2List(string src); - //wiki: list llListRandomize( list src, integer stride ) - List llListRandomize(List src, int stride); - //wiki: list llList2ListStrided( list src, integer start, integer end, integer stride ) - List llList2ListStrided(List src, int start, int end, int stride); - //wiki: vector llGetRegionCorner( ) - Axiom.Math.Vector3 llGetRegionCorner(); - //wiki: list llListInsertList( list dest, list src, integer start ) - List llListInsertList(List dest, List src, int start); - //wiki: integer llListFindList( list src, list test ) - int llListFindList(List src, List test); - //wiki: string llGetObjectName() - string llGetObjectName(); - //wiki: llSetObjectName(string name) - void llSetObjectName(string name); - //wiki: string llGetDate() - string llGetDate(); - //wiki: integer llEdgeOfWorld(vector pos, vector dir) - int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir); - //wiki: integer llGetAgentInfo(key id) - int llGetAgentInfo(string id); - //wiki: llAdjustSoundVolume(double volume) - void llAdjustSoundVolume(double volume); - //wiki: llSetSoundQueueing(integer queue) - void llSetSoundQueueing(int queue); - //wiki: llSetSoundRadius(double radius) - void llSetSoundRadius(double radius); - //wiki: string llKey2Name(key id) - string llKey2Name(string id); - //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate) - void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate); - //wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) - void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west); - //wiki: llEjectFromLand(key pest) - void llEjectFromLand(string pest); - void llParseString2List(); - //wiki: integer llOverMyLand(key id) - int llOverMyLand(string id); - //wiki: key llGetLandOwnerAt(vector pos) - string llGetLandOwnerAt(Axiom.Math.Vector3 pos); - //wiki: key llGetNotecardLine(string name, integer line) - string llGetNotecardLine(string name, int line); - //wiki: vector llGetAgentSize(key id) - Axiom.Math.Vector3 llGetAgentSize(string id); - //wiki: integer llSameGroup(key agent) - int llSameGroup(string agent); - //wiki: llUnSit(key id) - void llUnSit(string id); - //wiki: vector llGroundSlope(vector offset) - Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset); - //wiki: vector llGroundNormal(vector offset) - Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset); - //wiki: vector llGroundContour(vector offset) - Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset); - //wiki: integer llGetAttached() - int llGetAttached(); - //wiki: integer llGetFreeMemory() - int llGetFreeMemory(); - //wiki: string llGetRegionName() - string llGetRegionName(); - //wiki: double llGetRegionTimeDilation() - double llGetRegionTimeDilation(); - //wiki: double llGetRegionFPS() - double llGetRegionFPS(); - //wiki: llParticleSystem(List rules - void llParticleSystem(List rules); - //wiki: llGroundRepel(double height, integer water, double tau) - void llGroundRepel(double height, int water, double tau); - void llGiveInventoryList(); - //wiki: llSetVehicleType(integer type) - void llSetVehicleType(int type); - //wiki: llSetVehicledoubleParam(integer param, double value) - void llSetVehicledoubleParam(int param, double value); - //wiki: llSetVehicleVectorParam(integer param, vector vec) - void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec); - //wiki: llSetVehicleRotationParam(integer param, rotation rot) - void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot); - //wiki: llSetVehicleFlags(integer flags) - void llSetVehicleFlags(int flags); - //wiki: llRemoveVehicleFlags(integer flags) - void llRemoveVehicleFlags(int flags); - //wiki: llSitTarget(vector offset, rotation rot) - void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot); - //wiki key llAvatarOnSitTarget() - string llAvatarOnSitTarget(); - //wiki: llAddToLandPassList(key avatar, double hours) - void llAddToLandPassList(string avatar, double hours); - //wiki: llSetTouchText(string text) - void llSetTouchText(string text); - //wiki: llSetSitText(string text) - void llSetSitText(string text); - //wiki: llSetCameraEyeOffset(vector offset) - void llSetCameraEyeOffset(Axiom.Math.Vector3 offset); - //wiki: llSeteCameraAtOffset(vector offset) - void llSetCameraAtOffset(Axiom.Math.Vector3 offset); - void llDumpList2String(); - //wiki: integer llScriptDanger(vector pos) - void llScriptDanger(Axiom.Math.Vector3 pos); - //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel ) - void llDialog(string avatar, string message, List buttons, int chat_channel); - //wiki: llVolumeDetect(integer detect) - void llVolumeDetect(int detect); - //wiki: llResetOtherScript(string name) - void llResetOtherScript(string name); - //wiki: integer llGetScriptState(string name) - int llGetScriptState(string name); - //wiki: (deprecated) - void llRemoteLoadScript(); - //wiki: llSetRemoteScriptAccessPin(integer pin) - void llSetRemoteScriptAccessPin(int pin); - //wiki: llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param) - void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param); - //wiki: llOpenRemoteDataChannel() - void llOpenRemoteDataChannel(); - //wiki: key llSendRemoteData(key channel, string dest, integer idata, string sdata) - string llSendRemoteData(string channel, string dest, int idata, string sdata); - //wiki: llRemoteDataReply(key channel, key message_id, string sdata, integer idata) - void llRemoteDataReply(string channel, string message_id, string sdata, int idata); - //wiki: llCloseRemoteDataChannel(key channel) - void llCloseRemoteDataChannel(string channel); - //wiki: string llMD5String(string src, integer nonce) - string llMD5String(string src, int nonce); - //wiki: llSetPrimitiveParams( list rules ) - void llSetPrimitiveParams(List rules); - //wiki: string llStringToBase64(string str) - string llStringToBase64(string str); - //wiki: string llBase64ToString(string str) - string llBase64ToString(string str); - //wiki: (deprecated) - void llXorBase64Strings(); - //wiki: llRemoteDataSetRegion() - void llRemoteDataSetRegion(); - //wiki: double llLog10(double val) - double llLog10(double val); - //wiki: double llLog(double val) - double llLog(double val); - //wiki: list llGetAnimationList( key id ) - List llGetAnimationList(string id); - //wiki: llSetParcelMusicURL(string url) - void llSetParcelMusicURL(string url); - //wiki: vector llGetRootPosition() - Axiom.Math.Vector3 llGetRootPosition(); - //wiki: rotation llGetRootRotation() - Axiom.Math.Quaternion llGetRootRotation(); - //wiki: string llGetObjectDesc() - string llGetObjectDesc(); - //wiki: llSetObjectDesc(string desc) - void llSetObjectDesc(string desc); - //wiki: key llGetCreator() - string llGetCreator(); - //wiki: string llGetTimestamp() - string llGetTimestamp(); - //wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face) - void llSetLinkAlpha(int linknumber, double alpha, int face); - //wiki: integer llGetNumberOfPrims() - int llGetNumberOfPrims(); - //wiki: key llGetNumberOfNotecardLines(string name) - string llGetNumberOfNotecardLines(string name); - //wiki: list llGetBoundingBox( key object ) - List llGetBoundingBox(string obj); - //wiki: vector llGetGeometricCenter() - Axiom.Math.Vector3 llGetGeometricCenter(); - void llGetPrimitiveParams(); - //wiki: string llIntegerToBase64(integer number) - string llIntegerToBase64(int number); - //wiki integer llBase64ToInteger(string str) - int llBase64ToInteger(string str); - //wiki: double llGetGMTclock() - double llGetGMTclock(); - //wiki: string llGetSimulatorHostname() - string llGetSimulatorHostname(); - //llSetLocalRot(rotation rot) - void llSetLocalRot(Axiom.Math.Quaternion rot); - //wiki: list llParseStringKeepNulls( string src, list separators, list spacers ) - List llParseStringKeepNulls(string src, List seperators, List spacers); - //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param) - void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param); - //wiki: integer llGetObjectPermMask(integer mask) - int llGetObjectPermMask(int mask); - //wiki: llSetObjectPermMask(integer mask, integer value) - void llSetObjectPermMask(int mask, int value); - //wiki integer llGetInventoryPermMask(string item, integer mask) - void llGetInventoryPermMask(string item, int mask); - //wiki: llSetInventoryPermMask(string item, integer mask, integer value) - void llSetInventoryPermMask(string item, int mask, int value); - //wiki: key llGetInventoryCreator(string item) - string llGetInventoryCreator(string item); - //wiki: llOwnerSay(string msg) - void llOwnerSay(string msg); - //wiki: key llRequestSimulatorData(string simulator, integer data) - void llRequestSimulatorData(string simulator, int data); - //wiki: llForceMouselook(integer mouselook) - void llForceMouselook(int mouselook); - //wiki: double llGetObjectMass(key id) - double llGetObjectMass(string id); - void llListReplaceList(); - //wiki: llLoadURL(key avatar_id, string message, string url) - void llLoadURL(string avatar_id, string message, string url); - //wiki: llParcelMediaCommandList( list commandList ) - void llParcelMediaCommandList(List commandList); - void llParcelMediaQuery(); - //wiki integer llModPow(integer a, integer b, integer c) - int llModPow(int a, int b, int c); - //wiki: integer llGetInventoryType(string name) - int llGetInventoryType(string name); - //wiki: llSetPayPrice( integer price, list quick_pay_buttons ) - void llSetPayPrice(int price, List quick_pay_buttons); - //wiki: vector llGetCameraPos() - Axiom.Math.Vector3 llGetCameraPos(); - //wiki rotation llGetCameraRot() - Axiom.Math.Quaternion llGetCameraRot(); - //wiki: (deprecated) - void llSetPrimURL(); - //wiki: (deprecated) - void llRefreshPrimURL(); - //wiki: string llEscapeURL(string url) - string llEscapeURL(string url); - //wiki: string llUnescapeURL(string url) - string llUnescapeURL(string url); - //wiki: llMapDestination(string simname, vector pos, vector look_at) - void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at); - //wiki: llAddToLandBanList(key avatar, double hours) - void llAddToLandBanList(string avatar, double hours); - //wiki: llRemoveFromLandPassList(key avatar) - void llRemoveFromLandPassList(string avatar); - //wiki: llRemoveFromLandBanList(key avatar) - void llRemoveFromLandBanList(string avatar); - //wiki: llSetCameraParams( list rules ) - void llSetCameraParams(List rules); - //wiki: llClearCameraParams() - void llClearCameraParams(); - //wiki: double llListStatistics( integer operation, list src ) - double llListStatistics(int operation, List src); - //wiki: integer llGetUnixTime() - int llGetUnixTime(); - //wiki: integer llGetParcelFlags(vector pos) - int llGetParcelFlags(Axiom.Math.Vector3 pos); - //wiki: integer llGetRegionFlags() - int llGetRegionFlags(); - //wiki: string llXorBase64StringsCorrect(string str1, string str2) - string llXorBase64StringsCorrect(string str1, string str2); - void llHTTPRequest(); - //wiki: llResetLandBanList() - void llResetLandBanList(); - //wiki: llResetLandPassList() - void llResetLandPassList(); - //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) - int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide); - //wiki: list llGetParcelPrimOwners( vector pos ) - List llGetParcelPrimOwners(Axiom.Math.Vector3 pos); - //wiki: integer llGetObjectPrimCount(key object_id) - int llGetObjectPrimCount(string object_id); - //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) - int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide); - //wiki list llGetParcelDetails(vector pos, list params) - List llGetParcelDetails(Axiom.Math.Vector3 pos, List param); - } -} -- cgit v1.1