Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyMod : Mod
- {
- // To use NetEasy, make sure you do these two things:
- // Make sure to load your mod...
- public override void PostSetupContent()
- {
- NetEasy.NetEasy.Register(this);
- }
- // ...And to handle any incoming packets.
- public override void HandlePacket(BinaryReader reader, int whoAmI)
- {
- NetEasy.NetEasy.HandleModule(reader, whoAmI);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement