End() public static method

Signals the engine that the message is *constructed* and that it can be send.
public static End ( ) : void
return void
Beispiel #1
0
 public static void ShowMenu(this Player player, short keys, char displaytime, byte multipart, string text)
 {
     Message.Begin(MessageDestination.OneReliable, Message.GetUserMessageID("ShowMenu"), IntPtr.Zero, player.Pointer);
     Message.Write(keys);
     Message.Write(displaytime);
     Message.Write(multipart);
     Message.Write(text);
     Message.End();
 }