服务端UML
2020-09-25 11:49:26 0 举报
null
作者其他创作
大纲/内容
Bag
+ resource : list+ weapon: list- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
PlayerManager
Skill
+ last_use_time: float+ skillType: SkillType+ CDTime: float
+ Use(): bool- canUse(): bool
Room
+ room_id: int+ owner_id: int+ capacity: int+ clients: Dict+ client_status: Dict+ dead_clients: Dict+ AIManager: AIManager+ evils: list(int)+ curMaxPlayer: int+ inGamingPlayers: int+ firstFrame: bool+ inGaming: False+ resourceIdGenerator: ResourceIdGenerator()+ resourceManager: ResourceManager+ materialManager: MaterialManager+ TaskManager: TaskManager+ poisonCircleCenter: list(float)+ poisonCircleRadius: float+ poisonCircleStartTime: float
+ packUpPlayerInitialInfo(): dict+ gameInitial(): void+ playerStatusUpdate(): void+ gameUpdate(): void+ process(): void+ assignIdentity(): void+ assignSkill(): void
SkillDivine
SkillTrack
+ main_transport_log: list
RoomManager
+ rooms: dict+ current_room_id: int
Character
+ pos: list(float)+ maxHealth: float+ curHealth: float+ maxSAN: float+ curSAN: float+ maxDownHealth: float+ curDownHealth: float+ isSuccessLeave: bool+ identity: int+ skill: Skill+ maxHp_drop_rate_list: list+ maxHp_drop_thres_list: list+ laststage: int+ stage: int+ countdown: float+ nextUpdateTime: float+ nextSanUpdateTime: float+ isEffectedByPlotSkill: bool+ effectStartTime: float
Player
+ id: int+ client_id: int+ netstream: NetStream+ character: Character
+ updatePosition(pos): void
SkillPlot
+ playerOfMarking: list
+ markPlayer(int player_id): void
CharacterStatus
+ isHealth: bool+ isFallDown: bool+ isfallEvent: bool+ isDead: bool+ isTrapped: bool
0 条评论
下一页