mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 23:03:56 -07:00
5 lines
246 B
JavaScript
5 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");
|