Skip to content

Commit

Permalink
添加枪械模块批注
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuancheng Zhang committed Apr 14, 2021
1 parent 838dc24 commit 09ad616
Show file tree
Hide file tree
Showing 30 changed files with 54 additions and 54 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---引导系统
---@module GuideSystem
---@copyright Lilith Games, Avatar Team
---@author Sid Zhang, Yuancheng Zhang
--- 引导系统
--- @module GuideSystem
--- @copyright Lilith Games, Avatar Team
--- @author Sid Zhang, Yuancheng Zhang

local GuideSystem = {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module BattleGUI
---@copyright Lilith Games, Avatar Team
---@author RopzTao
--- @module BattleGUI 枪械模块:战斗UI
--- @copyright Lilith Games, Avatar Team
--- @author RopzTao
local BattleGUI, this = {}, nil

local OffPos = {0, 60, 120, 180}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module BottomGUI
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma,RopzTao
--- @module BottomGUI,枪械模块:底部UI
--- @copyright Lilith Games, Avatar Team
--- @author Sharif Ma,RopzTao
local BottomGUI, this = {}, nil

local mainGunPos, deputyGunPos, shined, tt = Vector2(0.315, 0.5), Vector2(0.587, 0.5), true, 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module CameraControl
---@copyright Lilith Games, Avatar Team
---@author An Dai
--- @module CameraControl,枪械模块:相机控制
--- @copyright Lilith Games, Avatar Team
--- @author An Dai
local CameraControl = {}

function CameraControl:Init()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- @module DebugGUI 开发工具面板
--- @module DebugGUI 枪械模块:开发工具面板
--- @copyright Lilith Games, Avatar Team
--- @author Sharif Ma
local DebugGUI = {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module DragUI
---@copyright Lilith Games, Avatar Team
---@author RopzTao
--- @module DragUI 枪械模块:拖动UI
--- @copyright Lilith Games, Avatar Team
--- @author RopzTao
local DragUI, this = {}, nil

---屏幕参数
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module InterGUI
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
--- @module InterGUI 枪械模块:内部UI
--- @copyright Lilith Games, Avatar Team
--- @author Sharif Ma
local InterGUI, this = {}, nil
local _SAY_ = 0.81

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module PlayerBehavior
---@copyright Lilith Games, Avatar Team
---@author RopzTao
--- @module PlayerBehavior 枪械模块:玩家行为树
--- @copyright Lilith Games, Avatar Team
--- @author RopzTao
local PlayerBehavior, this =
{
playerActionStateFunc = {} ---状态触发表
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module PlayerGunMgr 玩家端的枪械管理模块.处理玩家的输入等
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
--- @module PlayerGunMgr 枪械模块:玩家端的枪械管理模块.处理玩家的输入等
--- @copyright Lilith Games, Avatar Team
--- @author Sharif Ma
local PlayerGunMgr, this =
{
--- @type table 本玩家的数据
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module SettingGUI
---@copyright Lilith Games, Avatar Team
---@author RopzTao
--- @module SettingGUI 枪械模块:设置UI
--- @copyright Lilith Games, Avatar Team
--- @author RopzTao
local SettingGUI, this = {}, nil

---屏幕参数
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module UnitMgr
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
--- @module UnitMgr 枪械模块:单元管理
--- @copyright Lilith Games, Avatar Team
--- @author Sharif Ma
local UnitMgr, this = {}, nil

---模块初始化函数
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@module EventMgr
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
--- @module EventMgr 枪械模块:事件管理
--- @copyright Lilith Games, Avatar Team
--- @author Sharif Ma
local EventMgr = class('EventMgr')

---EventMgr类的构造函数
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module FortBase 炮台控制类
---@module FortBase 枪械模块:炮台控制类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local FortBase = class('FortBase')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module GunAnimation 玩家的动画控制类
---@module GunAnimation 枪械模块:玩家的动画控制类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local GunAnimation = class('GunAnimation')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module GunBase 所有枪支的基类
---@module GunBase 枪械模块:所有枪支的基类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local GunBase = class('GunBase')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module GunMagazine
---@module GunMagazine 枪械模块:弹夹基类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local GunMagazine = class('GunMagazine')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module GunRecoil
---@module GunRecoil 枪械模块:回弹基类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma, An Dai
local GunRecoil = class('GunRecoil')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module GunSound
---@module GunSound 枪械模块:枪声基类
---@copyright Lilith Games, Avatar Team
---@author RopzTao
local GunSound = class('GunSound')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module GunUtility 枪械模块自身的工具函数
---@module GunUtility 枪械模块:枪械模块自身的工具函数
---@copyright Lilith Games, Avatar Team
---@author RopzTao
local GunUtility = class('GunUtility')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module GunsCollection 所有的枪械子类的集合
---@module GunsCollection 枪械模块:所有的枪械子类的集合
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local GunsCollection = {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module PlayerAnimation 玩家的动画控制类
---@module PlayerAnimation 枪械模块:玩家的动画控制类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local PlayerAnimation = class('PlayerAnimation')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module WeaponAccessoryBase 枪械配件基类
---@module WeaponAccessoryBase 枪械模块:枪械配件基类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local WeaponAccessoryBase = class('WeaponAccessoryBase')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module WeaponAmmoBase 枪械子弹基类
---@module WeaponAmmoBase 枪械模块:枪械子弹基类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local WeaponAmmoBase = class('WeaponAmmoBase')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module WeaponCamera
---@module WeaponCamera 枪械模块:武器镜头基类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma, An Dai
local WeaponCamera = class('WeaponCamera')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module WeaponGUI 枪械的瞄准ui管理类
---@module WeaponGUI 枪械模块:枪械的瞄准ui管理类
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma, RopzTao, An Dai
local WeaponGUI = class('WeaponGUI')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- @module CacheDestroyMgr
--- @module CacheDestroyMgr 枪械模块:缓存管理
--- @copyright Lilith Games, Avatar Team
--- @author Sharif Ma
local CacheDestroyMgr = {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- @module DataMgr
--- @module DataMgr 枪械模块:数据管理
--- @copyright Lilith Games, Avatar Team
--- @author RopzTao
local DataMgr, this =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module WeaponMgr 服务端的枪械管理模块
---@module WeaponMgr 枪械模块:服务端的枪械管理模块
---@copyright Lilith Games, Avatar Team
---@author Sharif Ma
local WeaponMgr, this = {}, nil
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@module TweenController --控制某个变量随时间变化的协程类
---@module TweenController 枪械工具模块:控制某个变量随时间变化的协程类
---@copyright Lilith Games, Avatar Team
---@author An Dai
local TweenController = class('TweenController')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- 枪械模块全局脚本
--- 用于枪械模块自身的属性的初始化
--- @script 枪械模块全局脚本
--- @see 用于枪械模块自身的属性的初始化

---插件的根节点
_G.PluginRoot = world.Global.Weapon_Plugin_Package
Expand Down

0 comments on commit 09ad616

Please sign in to comment.