public static Offset <UdpMessages.ClientServerMessages.ClientServerMessage> CreateClientServerMessage(FlatBufferBuilder builder, UdpMessages.ClientServerMessages.ClientServerMessageContent content_type = UdpMessages.ClientServerMessages.ClientServerMessageContent.NONE, int contentOffset = 0) { builder.StartTable(2); ClientServerMessage.AddContent(builder, contentOffset); ClientServerMessage.AddContentType(builder, content_type); return(ClientServerMessage.EndClientServerMessage(builder)); }
public static ClientServerMessage GetRootAsClientServerMessage(ByteBuffer _bb, ClientServerMessage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }