public static void AddContentType(FlatBufferBuilder builder, UdpMessages.ServerClientMessages.ServerClientMessageContent contentType) { builder.AddByte(0, (byte)contentType, 0); }
public static Offset <UdpMessages.ServerClientMessages.ServerClientMessage> CreateServerClientMessage(FlatBufferBuilder builder, UdpMessages.ServerClientMessages.ServerClientMessageContent content_type = UdpMessages.ServerClientMessages.ServerClientMessageContent.NONE, int contentOffset = 0) { builder.StartTable(2); ServerClientMessage.AddContent(builder, contentOffset); ServerClientMessage.AddContentType(builder, content_type); return(ServerClientMessage.EndServerClientMessage(builder)); }