ratz/src/chatservers/common/mocks/UserRecord.go

type UserRecord

// ActiveInChannels provides a mock function with given fields: window
func (_m *UserRecord) ActiveInChannels(window common.TimeWindow) []common.Channel {}

// ActiveOnStreaming provides a mock function with given fields:
func (_m *UserRecord) ActiveOnStreaming() bool {}

// ActiveOnVideo provides a mock function with given fields:
func (_m *UserRecord) ActiveOnVideo() bool {}

// ActiveOnVoice provides a mock function with given fields:
func (_m *UserRecord) ActiveOnVoice() bool {}

// ActivityInAllChannels provides a mock function with given fields: window
func (_m *UserRecord) ActivityInAllChannels(window common.TimeWindow) int {}

// ActivityInChannel provides a mock function with given fields: channelid, window
func (_m *UserRecord) ActivityInChannel(channelid string, window common.TimeWindow) int {}

// AddExclusiveSystemTag provides a mock function with given fields: tag
func (_m *UserRecord) AddExclusiveSystemTag(tag string) {}

// AddExclusiveUserTag provides a mock function with given fields: tag
func (_m *UserRecord) AddExclusiveUserTag(tag string) {}

// AddSystemTag provides a mock function with given fields: tag
func (_m *UserRecord) AddSystemTag(tag string) {}

// AddUserTag provides a mock function with given fields: tag
func (_m *UserRecord) AddUserTag(tag string) {}

// AllCyberware provides a mock function with given fields:
func (_m *UserRecord) AllCyberware() common.CyberwareProfile {}

// AllModifiers provides a mock function with given fields:
func (_m *UserRecord) AllModifiers() map[common.ModifierType]float64 {}

// AllSystemTags provides a mock function with given fields:
func (_m *UserRecord) AllSystemTags() []common.Tag {}

// AllTags provides a mock function with given fields:
func (_m *UserRecord) AllTags() []common.Tag {}

// AllUserTags provides a mock function with given fields:
func (_m *UserRecord) AllUserTags() []common.Tag {}

// BlockedRatz provides a mock function with given fields:
func (_m *UserRecord) BlockedRatz() bool {}

// Career provides a mock function with given fields:
func (_m *UserRecord) Career() common.Career {}

// CommentsByChannel provides a mock function with given fields:
func (_m *UserRecord) CommentsByChannel() map[string]int {}

// CurrentHandle provides a mock function with given fields:
func (_m *UserRecord) CurrentHandle() string {}

// CurrentStatus provides a mock function with given fields:
func (_m *UserRecord) CurrentStatus() common.PresenceStatus {}

// EventCount provides a mock function with given fields: eventkey, window
func (_m *UserRecord) EventCount(eventkey string, window common.TimeWindow) int {}

// GetOauthToken provides a mock function with given fields:
func (_m *UserRecord) GetOauthToken() *oauth2.Token {}

// GetSession provides a mock function with given fields:
func (_m *UserRecord) GetSession() string {}

// GrantRole provides a mock function with given fields: role
func (_m *UserRecord) GrantRole(role common.Role) {}

// HasRole provides a mock function with given fields: _a0
func (_m *UserRecord) HasRole(_a0 common.Role) bool {}

// HasTag provides a mock function with given fields: name
func (_m *UserRecord) HasTag(name string) bool {}

// HighestRole provides a mock function with given fields:
func (_m *UserRecord) HighestRole() common.Role {}

// ID provides a mock function with given fields:
func (_m *UserRecord) ID() common.UserId {}

// IncrementVoiceMinutes provides a mock function with given fields: _a0
func (_m *UserRecord) IncrementVoiceMinutes(_a0 int) {}

// InstallCyberware provides a mock function with given fields: cost, slot, item
func (_m *UserRecord) InstallCyberware(cost int, slot common.CyberwareSlot, item common.Cyberware) {}

// IsServerBooster provides a mock function with given fields:
func (_m *UserRecord) IsServerBooster() bool {}

// JoinedOn provides a mock function with given fields:
func (_m *UserRecord) JoinedOn() time.Time {}

// LastActive provides a mock function with given fields:
func (_m *UserRecord) LastActive() time.Time {}

// LastAvailable provides a mock function with given fields:
func (_m *UserRecord) LastAvailable() time.Time {}

// LastChannelActivity provides a mock function with given fields:
func (_m *UserRecord) LastChannelActivity() common.Channel {}

// LastComment provides a mock function with given fields:
func (_m *UserRecord) LastComment() common.Message {}

// LastNotifiedForLurking provides a mock function with given fields:
func (_m *UserRecord) LastNotifiedForLurking() time.Time {}

// LastOnVoice provides a mock function with given fields:
func (_m *UserRecord) LastOnVoice() time.Time {}

// LastOnline provides a mock function with given fields:
func (_m *UserRecord) LastOnline() time.Time {}

// LastRespondedTo provides a mock function with given fields:
func (_m *UserRecord) LastRespondedTo() time.Time {}

// Mention provides a mock function with given fields:
func (_m *UserRecord) Mention() string {}

// PurgeEvent provides a mock function with given fields: event
func (_m *UserRecord) PurgeEvent(event string) {}

// RemoveRole provides a mock function with given fields: role
func (_m *UserRecord) RemoveRole(role common.Role) {}

// RemoveSystemTag provides a mock function with given fields: tag
func (_m *UserRecord) RemoveSystemTag(tag string) {}

// RemoveUserTag provides a mock function with given fields: tag
func (_m *UserRecord) RemoveUserTag(tag string) {}

// Reputation provides a mock function with given fields:
func (_m *UserRecord) Reputation() common.Reputation {}

// RestoreDelurkRoles provides a mock function with given fields:
func (_m *UserRecord) RestoreDelurkRoles() {}

// Roles provides a mock function with given fields:
func (_m *UserRecord) Roles() common.RolesCollection {}

// Server provides a mock function with given fields:
func (_m *UserRecord) Server() common.ChatServer {}

// ServerID provides a mock function with given fields:
func (_m *UserRecord) ServerID() string {}

// SetDelurkRoles provides a mock function with given fields: collection
func (_m *UserRecord) SetDelurkRoles(collection common.RolesCollection) {}

// SetLastAvailable provides a mock function with given fields:
func (_m *UserRecord) SetLastAvailable() {}

// SetLastNotifiedForLurking provides a mock function with given fields:
func (_m *UserRecord) SetLastNotifiedForLurking() {}

// SetLastOnVoice provides a mock function with given fields:
func (_m *UserRecord) SetLastOnVoice() {}

// SetLastOnline provides a mock function with given fields:
func (_m *UserRecord) SetLastOnline() {}

// SetLastRespondedTo provides a mock function with given fields:
func (_m *UserRecord) SetLastRespondedTo() {}

// SetOauthToken provides a mock function with given fields: token
func (_m *UserRecord) SetOauthToken(token *oauth2.Token) {}

// SetSession provides a mock function with given fields: session
func (_m *UserRecord) SetSession(session string) {}

// Tab provides a mock function with given fields:
func (_m *UserRecord) Tab() common.BarTab {}

// TotalComments provides a mock function with given fields:
func (_m *UserRecord) TotalComments() int {}

// TotalLinks provides a mock function with given fields:
func (_m *UserRecord) TotalLinks() int {}

// TotalModifier provides a mock function with given fields: _a0
func (_m *UserRecord) TotalModifier(_a0 common.ModifierType) float64 {}

// TotalReactions provides a mock function with given fields:
func (_m *UserRecord) TotalReactions() int {}

// TotalVoiceMinutes provides a mock function with given fields:
func (_m *UserRecord) TotalVoiceMinutes() int {}

// TrackEvent provides a mock function with given fields: eventkey
func (_m *UserRecord) TrackEvent(eventkey string) {}

// TrackUserComment provides a mock function with given fields: m
func (_m *UserRecord) TrackUserComment(m common.Message) {}

// TrackUserPresence provides a mock function with given fields: p
func (_m *UserRecord) TrackUserPresence(p common.PresenceUpdate) time.Duration {}

// TrackUserReactions provides a mock function with given fields: r
func (_m *UserRecord) TrackUserReactions(r common.MessageReaction) {}

// TrackVoicePacket provides a mock function with given fields:
func (_m *UserRecord) TrackVoicePacket() {}

// VoicePacketCount provides a mock function with given fields:
func (_m *UserRecord) VoicePacketCount() int {}

// NewUserRecord creates a new instance of UserRecord. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewUserRecord(t interface {}