public static Offset <QuickChat> CreateQuickChat(FlatBufferBuilder builder, QuickChatSelection quickChatSelection = QuickChatSelection.Information_IGotIt, int playerIndex = 0, bool teamOnly = false) { builder.StartObject(3); QuickChat.AddPlayerIndex(builder, playerIndex); QuickChat.AddTeamOnly(builder, teamOnly); QuickChat.AddQuickChatSelection(builder, quickChatSelection); return(QuickChat.EndQuickChat(builder)); }
public static Offset <QuickChat> CreateQuickChat(FlatBufferBuilder builder, QuickChatSelection quickChatSelection = QuickChatSelection.Information_IGotIt, int playerIndex = 0, bool teamOnly = false, int messageIndex = 0, float timeStamp = 0.0f) { builder.StartObject(5); QuickChat.AddTimeStamp(builder, timeStamp); QuickChat.AddMessageIndex(builder, messageIndex); QuickChat.AddPlayerIndex(builder, playerIndex); QuickChat.AddTeamOnly(builder, teamOnly); QuickChat.AddQuickChatSelection(builder, quickChatSelection); return(QuickChat.EndQuickChat(builder)); }
public static QuickChat GetRootAsQuickChat(ByteBuffer _bb, QuickChat obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }