Files
Crash-Course/Documentation/api/Player.Block.yml

120 lines
2.7 KiB
YAML
Raw Normal View History

2025-04-16 19:20:36 -04:00
### YamlMime:ManagedReference
items:
2025-04-16 19:57:54 -04:00
- uid: Player.Block
commentId: T:Player.Block
2025-04-16 19:20:36 -04:00
id: Block
2025-04-16 19:57:54 -04:00
parent: Player
2025-04-16 19:20:36 -04:00
children:
2025-04-16 19:57:54 -04:00
- Player.Block.blocking
- Player.Block.IsParrying
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: Block
nameWithType: Block
2025-04-16 19:57:54 -04:00
fullName: Player.Block
2025-04-16 19:20:36 -04:00
type: Class
source:
id: Block
path: ''
2025-04-18 20:11:19 -04:00
startLine: 3886
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-18 20:11:19 -04:00
summary: "\nThis class handles the player's ability to block and parry incoming attacks.\nBlocking reduces damage, while parrying reflects attacks if timed correctly.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: 'public class Block : MonoBehaviour'
content.vb: Public Class Block Inherits MonoBehaviour
inheritance:
- System.Object
2025-04-16 19:57:54 -04:00
- uid: Player.Block.blocking
commentId: F:Player.Block.blocking
2025-04-16 19:20:36 -04:00
id: blocking
2025-04-16 19:57:54 -04:00
parent: Player.Block
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: blocking
nameWithType: Block.blocking
2025-04-16 19:57:54 -04:00
fullName: Player.Block.blocking
2025-04-16 19:20:36 -04:00
type: Field
source:
id: blocking
path: ''
2025-04-18 20:11:19 -04:00
startLine: 3892
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-18 20:11:19 -04:00
summary: "\nIndicates whether the player is currently blocking.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public bool blocking
return:
type: System.Boolean
content.vb: Public blocking As Boolean
2025-04-16 19:57:54 -04:00
- uid: Player.Block.IsParrying
commentId: M:Player.Block.IsParrying
2025-04-16 19:20:36 -04:00
id: IsParrying
2025-04-16 19:57:54 -04:00
parent: Player.Block
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: IsParrying()
nameWithType: Block.IsParrying()
2025-04-16 19:57:54 -04:00
fullName: Player.Block.IsParrying()
2025-04-16 19:20:36 -04:00
type: Method
source:
id: IsParrying
path: ''
2025-04-18 20:11:19 -04:00
startLine: 3977
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-18 20:11:19 -04:00
summary: "\nChecks if the player is currently parrying.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public bool IsParrying()
return:
type: System.Boolean
2025-04-18 20:11:19 -04:00
description: True if the player is parrying, false otherwise.
2025-04-16 19:20:36 -04:00
content.vb: Public Function IsParrying() As Boolean
2025-04-16 19:57:54 -04:00
overload: Player.Block.IsParrying*
2025-04-16 19:20:36 -04:00
references:
2025-04-16 19:57:54 -04:00
- uid: Player
commentId: N:Player
name: Player
nameWithType: Player
fullName: Player
2025-04-16 19:20:36 -04:00
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
2025-04-16 19:57:54 -04:00
- uid: Player.Block.IsParrying*
commentId: Overload:Player.Block.IsParrying
2025-04-16 19:20:36 -04:00
name: IsParrying
nameWithType: Block.IsParrying
2025-04-16 19:57:54 -04:00
fullName: Player.Block.IsParrying