Advertisement
Guest User

Example Module Send

a guest
Feb 21st, 2020
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1.     // You can create the instance however you like. Then, call Send().
  2.     // I do it like this:
  3.     new ExampleModule
  4.     {
  5.         Text = text,
  6.         NotSentAcrossNet = 10
  7.     }
  8.     .Send(ignore: null, recipient: null, runLocally: true);
  9.  
  10.     // Remember to call Send().
  11.  
  12.     // The parameters for Send() are as follows:
  13.     // ignore:     who NOT to send the packet to
  14.     // recipient:  who ONLY to send the packet to
  15.     // runLocally: if the code should run for the sender as well. This is useful for avoiding repeated code.
  16.  
  17.     // It's as simple as that!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement