public VMChatEvent(VMAvatar ava, VMChatEventType type, params string[] text) { SenderUID = ava?.PersistID ?? 0; Type = type; Text = text; Color = (ava?.TSOState as VMTSOAvatarState)?.ChatColor ?? Color.LightGray; }
public VMChatEvent(VMAvatar ava, VMChatEventType type, params string[] text) { SenderUID = ava?.PersistID ?? 0; Type = type; Text = text; Timestamp = DateTime.Now.ToShortTimeString(); Color = (ava?.TSOState as VMTSOAvatarState)?.ChatColor ?? Color.LightGray; }
public VMChatEvent(VMAvatar ava, VMChatEventType type, byte channelID, params string[] text) : this(ava, type, text) { ChannelID = channelID; }
public VMChatEvent(uint uid, VMChatEventType type, params string[] text) { SenderUID = uid; Type = type; Text = text; }