示例#1
0
 def __init__(self, *args, **kwargs):
     "Parent must be initiated first"
     TypedObject.__init__(self, *args, **kwargs)
     # handlers
     _SA(self, "cmdset", CmdSetHandler(self))
     _GA(self, "cmdset").update(init_mode=True)
     _SA(self, "nicks", PlayerNickHandler(self))
示例#2
0
 def __init__(self, *args, **kwargs):
     "Parent must be initialized first."
     TypedObject.__init__(self, *args, **kwargs)
     # handlers
     _SA(self, "cmdset", LazyLoadHandler(self, "cmdset", CmdSetHandler, True))
     _SA(self, "scripts", LazyLoadHandler(self, "scripts", ScriptHandler))
     _SA(self, "nicks", LazyLoadHandler(self, "nicks", NickHandler))
示例#3
0
 def __init__(self, *args, **kwargs):
     "Parent must be initialized first."
     TypedObject.__init__(self, *args, **kwargs)
     # handlers
     _SA(self, "cmdset", CmdSetHandler(self))
     _GA(self, "cmdset").update(init_mode=True)
     _SA(self, "scripts", ScriptHandler(self))
     _SA(self, "nicks", ObjectNickHandler(self))
示例#4
0
 def __init__(self, *args, **kwargs):
     "Parent must be initiated first"
     TypedObject.__init__(self, *args, **kwargs)
     # handlers
     _SA(self, "cmdset", LazyLoadHandler(self, "cmdset", CmdSetHandler,
                                         True))
     _SA(self, "scripts", LazyLoadHandler(self, "scripts", ScriptHandler))
     _SA(self, "nicks", LazyLoadHandler(self, "nicks", NickHandler))
示例#5
0
文件: models.py 项目: Aumnren/evennia
 def __init__(self, *args, **kwargs):
     "Parent must be initiated first"
     TypedObject.__init__(self, *args, **kwargs)
     # handlers
     _SA(self, "cmdset", CmdSetHandler(self))
     _GA(self, "cmdset").update(init_mode=True)
     _SA(self, "attributes", AttributeHandler(self))
     _SA(self, "tags", TagHandler(self, category_prefix="player_"))
     _SA(self, "aliases", AliasHandler(self, category_prefix="player_"))
     _SA(self, "nicks", NickHandler(self))
示例#6
0
 def __init__(self, *args, **kwargs):
     "Parent must be initialized first."
     TypedObject.__init__(self, *args, **kwargs)
     # handlers
     _SA(self, "cmdset", CmdSetHandler(self))
     _GA(self, "cmdset").update(init_mode=True)
     _SA(self, "scripts", ScriptHandler(self))
     _SA(self, "attributes", AttributeHandler(self))
     _SA(self, "nicks", NickHandler(self))
     _SA(self, "tags", TagHandler(self))
     _SA(self, "aliases", AliasHandler(self))
示例#7
0
 def __init__(self, *args, **kwargs):
     "Parent must be initialized first."
     TypedObject.__init__(self, *args, **kwargs)
     # handlers
     _SA(self, "cmdset", CmdSetHandler(self))
     _GA(self, "cmdset").update(init_mode=True)
     _SA(self, "scripts", ScriptHandler(self))
     _SA(self, "attributes", AttributeHandler(self))
     _SA(self, "nicks", NickHandler(self))
     _SA(self, "tags", TagHandler(self))
     _SA(self, "aliases", AliasHandler(self))
示例#8
0
 def __init__(self, *args, **kwargs):
     TypedObject.__init__(self, *args, **kwargs)
     _SA(self, "attributes", AttributeHandler(self))
     _SA(self, "tags", TagHandler(self))
     _SA(self, "aliases", AliasHandler(self))
示例#9
0
 def __init__(self, *args, **kwargs):
     TypedObject.__init__(self, *args, **kwargs)
     _SA(self, "tags", LazyLoadHandler(self, "tags", TagHandler))
     _SA(self, "attributes", LazyLoadHandler(self, "attributes", AttributeHandler))
     _SA(self, "aliases", LazyLoadHandler(self, "aliases", AliasHandler))
示例#10
0
 def __init__(self, *args, **kwargs):
     TypedObject.__init__(self, *args, **kwargs)
     _SA(self, "tags", TagHandler(self, category_prefix="bboard_"))
     _SA(self, "aliases", AliasHandler(self, category_prefix="bboard_"))
     _SA(self, "attributes", AttributeHandler(self))
示例#11
0
 def __init__(self, *args, **kwargs):
     TypedObject.__init__(self, *args, **kwargs)
     _SA(self, "tags", TagHandler(self, category_prefix="comm_"))
     _SA(self, "aliases", AliasHandler(self, category_prefix="comm_"))
     _SA(self, "attributes", AttributeHandler(self))