Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }