mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 23:51:53 +00:00
8 lines
35 KiB
JavaScript
8 lines
35 KiB
JavaScript
|
ace.define("ace/snippets/lsl.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet @\n @${1:label};\nsnippet CAMERA_ACTIVE\n CAMERA_ACTIVE, ${1:integer isActive}, $0\nsnippet CAMERA_BEHINDNESS_ANGLE\n CAMERA_BEHINDNESS_ANGLE, ${1:float degrees}, $0\nsnippet CAMERA_BEHINDNESS_LAG\n CAMERA_BEHINDNESS_LAG, ${1:float seconds}, $0\nsnippet CAMERA_DISTANCE\n CAMERA_DISTANCE, ${1:float meters}, $0\nsnippet CAMERA_FOCUS\n CAMERA_FOCUS, ${1:vector position}, $0\nsnippet CAMERA_FOCUS_LAG\n CAMERA_FOCUS_LAG, ${1:float seconds}, $0\nsnippet CAMERA_FOCUS_LOCKED\n CAMERA_FOCUS_LOCKED, ${1:integer isLocked}, $0\nsnippet CAMERA_FOCUS_OFFSET\n CAMERA_FOCUS_OFFSET, ${1:vector meters}, $0\nsnippet CAMERA_FOCUS_THRESHOLD\n CAMERA_FOCUS_THRESHOLD, ${1:float meters}, $0\nsnippet CAMERA_PITCH\n CAMERA_PITCH, ${1:float degrees}, $0\nsnippet CAMERA_POSITION\n CAMERA_POSITION, ${1:vector position}, $0\nsnippet CAMERA_POSITION_LAG\n CAMERA_POSITION_LAG, ${1:float seconds}, $0\nsnippet CAMERA_POSITION_LOCKED\n CAMERA_POSITION_LOCKED, ${1:integer isLocked}, $0\nsnippet CAMERA_POSITION_THRESHOLD\n CAMERA_POSITION_THRESHOLD, ${1:float meters}, $0\nsnippet CHARACTER_AVOIDANCE_MODE\n CHARACTER_AVOIDANCE_MODE, ${1:integer flags}, $0\nsnippet CHARACTER_DESIRED_SPEED\n CHARACTER_DESIRED_SPEED, ${1:float speed}, $0\nsnippet CHARACTER_DESIRED_TURN_SPEED\n CHARACTER_DESIRED_TURN_SPEED, ${1:float speed}, $0\nsnippet CHARACTER_LENGTH\n CHARACTER_LENGTH, ${1:float length}, $0\nsnippet CHARACTER_MAX_TURN_RADIUS\n CHARACTER_MAX_TURN_RADIUS, ${1:float radius}, $0\nsnippet CHARACTER_ORIENTATION\n CHARACTER_ORIENTATION, ${1:integer orientation}, $0\nsnippet CHARACTER_RADIUS\n CHARACTER_RADIUS, ${1:float radius}, $0\nsnippet CHARACTER_STAY_WITHIN_PARCEL\n CHARACTER_STAY_WITHIN_PARCEL, ${1:boolean stay}, $0\nsnippet CHARACTER_TYPE\n CHARACTER_TYPE, ${1:integer type}, $0\nsnippet HTTP_BODY_MAXLENGTH\n HTTP_BODY_MAXLENGTH, ${1:integer length}, $0\nsnippet HTTP_CUSTOM_HEADER\n HTTP_CUSTOM_HEADER, ${1:string name}, ${2:string value}, $0\nsnippet HTTP_METHOD\n HTTP_METHOD, ${1:string method}, $0\nsnippet HTTP_MIMETYPE\n HTTP_MIMETYPE, ${1:string mimeType}, $0\nsnippet HTTP_PRAGMA_NO_CACHE\n HTTP_PRAGMA_NO_CACHE, ${1:integer send_header}, $0\nsnippet HTTP_VERBOSE_THROTTLE\n HTTP_VERBOSE_THROTTLE, ${1:integer noisy}, $0\nsnippet HTTP_VERIFY_CERT\n HTTP_VERIFY_CERT, ${1:integer verify}, $0\nsnippet RC_DATA_FLAGS\n RC_DATA_FLAGS, ${1:integer flags}, $0\nsnippet RC_DETECT_PHANTOM\n RC_DETECT_PHANTOM, ${1:integer dectedPhantom}, $0\nsnippet RC_MAX_HITS\n RC_MAX_HITS, ${1:integer maxHits}, $0\nsnippet RC_REJECT_TYPES\n RC_REJECT_TYPES, ${1:integer filterMask}, $0\nsnippet at_rot_target\n at_rot_target(${1:integer handle}, ${2:rotation targetrot}, ${3:rotation ourrot})\n {\n $0\n }\nsnippet at_target\n at_target(${1:integer tnum}, ${2:vector targetpos}, ${3:vector ourpos})\n {\n $0\n }\nsnippet attach\n attach(${1:key id})\n {\n $0\n }\nsnippet changed\n changed(${1:integer change})\n {\n $0\n }\nsnippet collision\n collision(${1:integer index})\n {\n $0\n }\nsnippet collision_end\n collision_end(${1:integer index})\n {\n $0\n }\nsnippet collision_start\n collision_start(${1:integer index})\n {\n $0\n }\nsnippet control\n control(${1:key id}, ${2:integer level}, ${3:integer edge})\n {\n $0\n }\nsnippet dataserver\n dataserver(${1:key query_id}, ${2:string data})\n {\n $0\n }\nsnippet do\n do\n {\n $0\n }\n while (${1:condition});\nsnippet else\n else\n {\n $0\n }\nsnippet email\n email(${1:string time}, ${2:string address}, ${3:string subject}, ${4:string message}, ${5:integer num_left})\n {\n $0\n }\nsnippet experience_permissions\n experience_permissions(${1:key agent_id})\n {\n $0\n }\nsnippet experience_permissions_denied\n experience_permissions_denied(${1:key agent_id}, ${2:integer reason})\n {\n $0\n }\nsnippet for\n for (${1:start}; ${3:condition}; ${3:step})\n {\n $0\n }\nsnippet http_request\n http_request(${1:key request_id}, ${2:string method}, ${3:string body})\n {\n $0\n }\nsnippet http_response\n http_response(${1:key request_id
|
||
|
ace.require(["ace/snippets/lsl"], function(m) {
|
||
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
||
|
module.exports = m;
|
||
|
}
|
||
|
});
|
||
|
})();
|
||
|
|