Cavestory Mod API
Public Attributes | List of all members
ShootInfo Struct Reference

ShootInfo structure. More...

#include <CSMAPI_types.h>

Public Attributes

CaveNet::DataStructures::NetClientclient
 The client tied to this shoot event. More...
 
MYCHARourC
 The character tied to this shoot event.
 
int key
 The key input state.
 
int keyTrg
 The key-Trg input state.
 
ARMSarms
 The shooter's current weapon list.
 
int selectedArm
 The shooter's selected weapon index.
 
int ghostId
 The shooter's Ghost ID.
 
bool IsOurClient
 Whether this client is our user.
 
int arms_code
 Which weapon ID was shot.
 
int arms_level
 The level at which the weapon was shot at.
 
int bullet_ids [3]
 Ease-of-use: List of bullet IDs defined in CaveEditor for each weapon level.
 
SafeClientInterface sClient
 A safe interface for the client who shot the gun.
 

Detailed Description

ShootInfo structure.

Examples
WeaponShoot.cpp.

Member Data Documentation

◆ client

The client tied to this shoot event.

Can be NULL!


The documentation for this struct was generated from the following file: