mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
32 lines
773 B
Ruby
32 lines
773 B
Ruby
#===============================================================================
|
|
# Phone data
|
|
#===============================================================================
|
|
class PhoneDatabase
|
|
attr_accessor :generics
|
|
attr_accessor :greetings
|
|
attr_accessor :greetingsMorning
|
|
attr_accessor :greetingsEvening
|
|
attr_accessor :bodies1
|
|
attr_accessor :bodies2
|
|
attr_accessor :battleRequests
|
|
attr_accessor :trainers
|
|
|
|
def initialize
|
|
@generics = []
|
|
@greetings = []
|
|
@greetingsMorning = []
|
|
@greetingsEvening = []
|
|
@bodies1 = []
|
|
@bodies2 = []
|
|
@battleRequests = []
|
|
@trainers = []
|
|
end
|
|
end
|
|
|
|
module PhoneMsgType
|
|
Generic = 0
|
|
Greeting = 1
|
|
Body = 2
|
|
BattleRequest = 3
|
|
end
|