This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorial:modding_onefour [2014/10/10 19:46] sangar [Added and renamed methods in existing interfaces] |
tutorial:modding_onefour [2014/10/14 14:43] sangar [Added and renamed methods in existing interfaces] |
||
---|---|---|---|
Line 151: | Line 151: | ||
Renamed to `li.cil.oc.api.machine.MachineHost.markForSaving` to clarify difference to EnvironmentHost's markChanged (which usually means the inventory changed). | Renamed to `li.cil.oc.api.machine.MachineHost.markForSaving` to clarify difference to EnvironmentHost's markChanged (which usually means the inventory changed). | ||
//How to adjust//: rename implementing methods. | //How to adjust//: rename implementing methods. | ||
+ | |||
+ | - `li.cil.oc.api.network.WirelessEndpoint.receivePacket(Packet packet, double distance)` | ||
+ | Changed signature to `receivePacket(Packet packet, WirelessEndpoint sender)`, which is much more versatile. | ||
+ | //How to adjust//: change signatures, compute distance when needed. | ||
Removed | Removed |