Skip to content

Commit

Permalink
Added get_fleet_for and send_ship_types
Browse files Browse the repository at this point in the history
  • Loading branch information
lemming552 authored and dmcbride committed Jan 24, 2015
1 parent da73b34 commit 832af5a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions smd.js
Expand Up @@ -1892,6 +1892,15 @@ if (typeof YAHOO.lacuna.SMD == "undefined" || !YAHOO.lacuna.SMD) {
*/
},

"get_fleet_for" : {
"description": "Provides a list of incoming ships and ships that are available to send to a specific target. Use with send_ship_types.",
"parameters": [
{"name":"session_id", "type":"string", "optional":false},
{"name":"from_body_id", "type":"string", "optional":false},
{"name":"target", "type":"object", "optional":false}
],
"returns":{"type":"object"}
},
"get_ships_for" : {
"description": "Provides a list of incoming ships and ships that are available to send to a specific target. Use with send_ship.",
"parameters": [
Expand Down Expand Up @@ -2009,6 +2018,17 @@ if (typeof YAHOO.lacuna.SMD == "undefined" || !YAHOO.lacuna.SMD) {
],
"returns":{"type":"object"}
},
"send_ship_types" : {
"description": "Sends a group of ships to a specified body or star. Use with get_fleet_for.",
"parameters": [
{"name":"session_id", "type":"string", "optional":false},
{"name":"body_id", "type":"string", "optional":false},
{"name":"target", "type":"string", "optional":false},
{"name":"type_params", "type":"object", "optional":false},
{"name":"arrival", "type":"object", "optional":false}
],
"returns":{"type":"object"}
},
"send_ship" : {
"description": "Sends a ship to a specified body or star. Use with get_ships_for.",
"parameters": [
Expand Down

0 comments on commit 832af5a

Please sign in to comment.