-
Notifications
You must be signed in to change notification settings - Fork 7
server.components.Shield.Shield
server/components/Shield.Shield
-
Essential<ToolAttributes,ShieldInstance>↳
Shield
- Actions
- Disable
- DisableAnimation
- DisabledLimb
- Enable
- EnableAnimation
- EnabledLimb
- InputInfo
- Player
- attributes
- id
- instance
- janitor
- maid
- state
- stateChanged
- timeCreated
- Block
- EndBlock
- Init
- PlayerInit
- destroy
- getState
- onAttributeChanged
- onStart
- setAttribute
- setInstance
- setState
• new Shield()
src/server/components/Shield.ts:31
• Actions: Actions
src/server/components/Essential.ts:118
• Disable: (End: Callback) => void
▸ (End): void
| Name | Type |
|---|---|
End |
Callback |
void
src/server/components/Essential.ts:116
• DisableAnimation: number = Config.Animations.Shield.Holster
src/server/components/Shield.ts:26
• DisabledLimb: CharacterLimb
src/server/components/Shield.ts:29
• Enable: (End: Callback) => void
▸ (End): void
| Name | Type |
|---|---|
End |
Callback |
void
src/server/components/Essential.ts:114
• EnableAnimation: number = Config.Animations.Shield.Equip
src/server/components/Shield.ts:25
• EnabledLimb: CharacterLimb
src/server/components/Shield.ts:28
• InputInfo: InputInfo
src/server/components/Essential.ts:22
• Optional Player: Player
src/server/components/Tool.ts:64
• attributes: ToolAttributes
Attributes attached to this instance.
node_modules/@flamework/components/out/index.d.ts:20
• id: string
src/server/components/Tool.ts:61
• instance: ShieldInstance
The instance this component is attached to. This should only be called in a component lifecycle event.
node_modules/@flamework/components/out/index.d.ts:25
• Protected janitor: Janitor<void>
src/server/components/Tool.ts:59
• maid: Maid
A maid that will be destroyed when the component is.
node_modules/@flamework/components/out/index.d.ts:16
• state: string = "nil"
src/server/components/Tool.ts:62
• stateChanged: Signal<fn, false>
src/server/components/Tool.ts:65
• timeCreated: number
src/server/components/Tool.ts:63
▸ Private Block(End, janitor): void
| Name | Type |
|---|---|
End |
Callback |
janitor |
Janitor<void> |
void
src/server/components/Shield.ts:51
▸ Private EndBlock(End): void
| Name | Type |
|---|---|
End |
Callback |
void
src/server/components/Shield.ts:59
▸ Init(): void
void
src/server/components/Shield.ts:65
▸ PlayerInit(): void
void
src/server/components/Shield.ts:85
▸ destroy(): void
Destroys this component instance.
void
node_modules/@flamework/components/out/index.d.ts:39
▸ getState(): string
string
src/server/components/Tool.ts:67
▸ onAttributeChanged<K>(name, cb): void
Connect a callback to the change of a specific attribute.
| Name | Type |
|---|---|
K |
extends "BUTTON_TOGGLE"
|
| Name | Type | Description |
|---|---|---|
name |
K |
The name of the attribute |
cb |
(newValue: ToolAttributes[K], oldValue: ToolAttributes[K]) => void
|
The callback |
void
node_modules/@flamework/components/out/index.d.ts:35
▸ onStart(): void
void
src/server/components/Tool.ts:76
▸ setAttribute<T>(key, value, postfix?): ToolAttributes[T]
| Name | Type |
|---|---|
T |
extends "BUTTON_TOGGLE"
|
| Name | Type |
|---|---|
key |
T |
value |
ToolAttributes[T] |
postfix? |
boolean |
node_modules/@flamework/components/out/index.d.ts:27
▸ setInstance(instance, attributes): void
| Name | Type |
|---|---|
instance |
ShieldInstance |
attributes |
unknown |
void
node_modules/@flamework/components/out/index.d.ts:26
▸ setState(state): void
| Name | Type |
|---|---|
state |
string |
void
- client/controllers/SpringCam
- client/controllers/Direction
- client/controllers/Rotation
- client/controllers/Shake
- client/controllers/Input
- server/modules/InputParser
- server/modules/Middleware
- server/modules/AnimPlayer
- server/modules/Action
- server/modules/Defer