forked from mirrors/0ad
754e794f9b
This was SVN commit r13951.
6 lines
246 B
JavaScript
6 lines
246 B
JavaScript
Engine.RegisterInterface("AttackDetection");
|
|
|
|
// Message of the form { "player": 1, "event": { "target": 123 , "position": { "x": 123, "z": 456 }, "time": 1, }.
|
|
// sent when a new attack is detected.
|
|
Engine.RegisterMessageType("AttackDetected");
|